Posted by Jonathan on 01/22/06 22:36
zek2005 wrote:
<snip>
> while($row = mysql_fetch_array($response))
> {
> for ($i=0;$i=$hasta;$i++)
> {
> for ($j=1;$j=5;$j++)
> {
> echo('<img src="' .$row[url]. '" border="0">');
> }
> echo('<br>');
> }
>
> }
>
You are running the mysql_fetch_array command outside the loop
generating the table.
You might want to take a look at this thread as weel as it is almost the
same problem:
http://groups.google.com/group/comp.lang.php/browse_thread/thread/7f1b231106540c7a/d47992731bf1bcc2?lnk=st&q=Need+help+with+my+code+reading+flat+file+into+HTML+table&rnum=1#d47992731bf1bcc2
Jonathan
Navigation:
[Reply to this message]
|