[thelist] PHP help with a loop and array
Luther, Ron
Ron.Luther at COMPAQ.com
Tue Nov 28 16:34:14 CST 2000
Hi Chris,
Sorry ... not a PHP guru ...
Could it be because you are declaring $picresult as a scalar with the
$picresult = ...
... and then outputting it as an array? $picresult[$i]
That might explain the 'null' results when the index is >0...
Just a guess,
Ron L.
-----Original Message-----
From: CDitty [mailto:mail at redhotsweeps.com]
Subject: [thelist] PHP help with a loop and array
$picresult = mysql_fetch_array($picsql);
echo $picresult[$i] . " - Result<br>";
More information about the thelist
mailing list