For instance,
Code: Select all
if (!is_null($row['lastName'])) echo $row['lastName'];Code: Select all
if (!empty($row['lastName'])) echo $row['lastName'];lastName VARCHAR(30) DEFAULT NULL
..and if the user decides not to fill out his last name in the form, then it simply INSERT's a value of NULL for that column in the INSERT query.
Thanks for your help on this matter.