Posted by Fabian Mόller on 05/10/05 08:57
Mark Sargent <powderkeg@snow.email.ne.jp> writes:
> $i=0;
> while ($i < $num){
> $product_type=mysql_result($result,$i,"product_type_detail");
> echo "<tr><td><? echo $product_type ?></td></tr>"
> }
> $i++
You should put "$i++" into the while loop. And you should add an ";"
at the end of the echo line as well as at the end of "$i++".
With kind regards, Fabian MΓΌller
Navigation:
[Reply to this message]
|