Re: New problem - HELP!

From: Date: Thu, 13 Nov 2003 22:09:26 +0000
Subject: Re: New problem - HELP!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169597@lists.php.net to get a copy of this message
Jake -- ..and then Jake McHenry said... % % I have a csv file I'm importing, very simple setup. I think I must be % going blind from sitting infront of this puter for so long :-( I % can't seem to see what I did wrong. Here's my stuff: % % Csv file: % % 01000170600010, % 27362538462735,154154162549184 OK. % % Basically, some lines have 2, some only have the first, only the % second will ever be empty. Question: is it empty or is it actually undefined? % % In my php file: .. % if ($value[1] == "") % { % echo "hi"; This could happily fail; undefined is not the same as "" and so on. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#169597) next »