case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
Sql inq. en çok bunu tavsiye ederim büyük bir oranla öne geçmiş olursunuz.