Re: var_dump() results
| From: | Chris | Date: | Mon, 14 Jan 2008 03:36:25 +0000 |
| Subject: | Re: var_dump() results | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267205@lists.php.net to get a copy of this message | ||
<picky>
or you could do
$result = mysql_query($sql);
$count = mysql_num_rows($result);
for ($i=0; $i<$count; $i++) {
var_dump($row);
...
}
Not unless you have a
$row = mysql_fetch_assoc($result);
before doing the var_dump of $row because $row isn't being set :)
</picky>
--
Postgresql & php tutorials
http://www.designmagick.com/