Andy B wrote:
how would you assign NULL to a variable if its original value is ""? otherwise leave it with its value...

if($var === '') $var = NULL;


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to