Here's my question: How do I pass a NULL value in a variable to a
Here's an overview of my problem: I have a PHP page that processes
code, then inserts the code into a database. Very straightforward.
But, some NULL values are being inserted as a blank space, or the
string "NULL" instead of a true NULL.
Below is the db insert...
$db = mysql_connect ("localhost", "user name", "password");
mysql_select_db ("database name");
$query = "insert into customers (customer_id, application_date,
application_time, referring_web_site, keywords, first_name, last_name,
email, address, city, state, zip, home_phone, business_phone,
values ('', '$appDate', '$appTime', ...