> When I use phpMyAdmin to view data, where values are NULL it displays the > word 'NULL'. Does this mean that the word 'NULL' is actually stored in the > table, or is it defined by some other character? Is this any different from > an empty value? > > I am using it to check to see whether a value has been entered into a field, > and if so what is the value. Will MySql return an empty string or do I need > to trap for 'NULL' as well? >
NULL is empty if you make this statement with php you can test it if (empty($var)) echo "NULL"; else echo $var; Jeroen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php