array from fgetcsv

From: Date: Mon, 26 Aug 2002 04:43:26 +0000
Subject: array from fgetcsv
Groups: php.windows 
Request: Send a blank email to php-windows+get-15507@lists.php.net to get a copy of this message
I decided to use fgetcsv, because it puts the data it retrieves from the in an array. But a problem occured (again). I used a while to show the Arrays values but I couldn't find a way stop the while. I tried checking for an empty array " " or "" but never stopped ... is there a nill value in PHP or a way to determine where my value stop? The code is like that: while ($outputstring[$i] !=""){ echo $outputstring[$i]."<br>"; $i+=1; } P.S.Thank you all for your time and sorry for my so simple questions but I just started with PHP, I have a book on my hands and Trying to figure things out. Thanks again crizz

« previous php.windows (#15507) next »