> how would you test for an empty (unused) variable from a form.. > i have a phone number split into 3 different vairiables and want to test to > see if they were used in the form before displaying either the phone number > itself or just leaving it out of the display... what code would be good to > test it with.. the variables are $ac2 $ext2 and $num2
ummmmmm.... i don't know.... maybe.... empty() ? www.php.net/empty ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php