View Single Post
Old 06-19-2003, 05:29 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
Re: mysql query to populate an array

it's in the last loop .. you are calling on the "$i" result of $result2 .. since there is only 1 result, the only valid mysql_result would be 0. here ya go:
PHP Code:
<?
  $thumb
[$i]=mysql_result($result2,0,"thumb");
?>
__________________
Mike
sde is offline   Reply With Quote