On Thu, 2001-12-13 at 11:42, matt stewart wrote:
> you're only printing stuff while i=0, i=1,i=6.
> therefore only 7 things come out.
> either make the loop for($i=0;$i<=7;$i++), or for($i=0;$i<8;$i++).
Oh! Thanks a million! It works like a charm now.
So I guess the second alternative was ri
DB] Problem with MySQL and array loop
Hello,
I've got a really strange problem.
When looping through a result given by mysql_fetch_row(),
the code for some reason ignores the last column in the database.
The code snippet I'm using now is
while($row=mysql_fetch_row($resu
Hello,
I've got a really strange problem.
When looping through a result given by mysql_fetch_row(),
the code for some reason ignores the last column in the database.
The code snippet I'm using now is
while($row=mysql_fetch_row($result)) {
print("");
for($i=0;$i<7;$i++) {