List:General Discussion« Previous MessageNext Message »
From:Faisal Nasim Date:June 9 1999 7:29am
Subject:A quick PHP question
View as plain text  
WHILE ($i < $number):
        $date = mysql_result($result,$i,"name");
        $info = mysql_result($result,$i,"number");
        PRINT "<DT><B>$date</B><DD>$info<BR>";
        PRINT "<BR>";

I am new to PHP, I got that example from somewhere,
but that example is limited to two fields only.

Could you give me an example, so that it can fetch
through all the results and list each comma separated
each row in a new line.

Faisal Nasim (the Whiz Kid)
AOL: Whiz Swift
ICQ: 4265451
FAX: (815) 846-2877

A quick PHP questionFaisal Nasim9 Jun
Re: A quick PHP questionFaisal Nasim9 Jun