List:General Discussion« Previous MessageNext Message »
From:Faisal Nasim Date:June 9 1999 7:47am
Subject:Re: A quick PHP question
View as plain text  
Solved!


>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++;
>        ENDWHILE;
>MYSQL_CLOSE();
>
>
>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.

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