Re: no temp var for mysql_fetch_array results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "David T-G" <davidtg-php@xxxxxxxxxxxxxxx>

>     $r = mysql_query($q,$dbro) ;
>     $row = mysql_fetch_array($r) ;
>     $i = $row[0] ;

$r = mysql_query($q,$dbro) ;
$i = mysql_result($r,0);

---John Holmes...

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux