Well, I tried the following script which works:
";
$i++;
}
?>
but the following does not:
";
$i++;
}
?>
That is the same code as yours. It generates an array in the first while
loop and prints each value in the second one.
--
PHP General Mailing List (http://www.php.net/)
To
> Hi there.I just want to know if the following code is suppose to work or
> not?
> I thing it must work!
> Is there something wrong with my while() funtion or must i use other
> functions?
>
> $query = "SELECT co_id FROM employee ORDER BY co_id";
> db_connect($query);
> while($row=db_rang
2 matches
Mail list logo