Jake McHenry <mailto:[EMAIL PROTECTED]> on Thursday, November 13, 2003 3:12 PM said:
> You asked is it empty or actually undefined...? I showed you the csv > file, and the output of print_r... You tell me.. I don't know.. Lol :\ What you can do is try different comparisons for the if statement until it works. if(isset($value[1])) { // do stuff } AND if(empty($value[1])) { // do stuff } if($value [1] == NULL) { // do stuff } Your if statement is absolutely being executed, it's just not resulting in the answer you want. Chris. p.s. Trim your posts. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php