<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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to