On Wednesday 14 March 2001 14:41, you wrote:
> > $result= mysql_query($query);
> > while ($row = mysql_fetch_row($result));
> > {
> > for ($i =1;$i > {echo $row[$i];
> > }}
> > ?>
>
> 2 problems.
>
> 1. Delete the ';' after the while loop. With that there the for loop
> will never run.
It will.
On Tue, Mar 13, 2001 at 03:07:45PM -0500, Mike wrote:
> require("Connection.php");
> $query="Show Columns from Inventory";
> $result= mysql_query($query);
> while ($row = mysql_fetch_row($result));
> {
> for ($i =1;$i {echo $row[$i];
> }}
> ?>
2 problems.
1. Delete the ';' after the while loop
2 matches
Mail list logo