At 16:35 -0500 15/9/07, Mahmoud Badreddine wrote:
In one of my php scripts I make 2 successive calls of mysql_fetch_row using
the same Mysql Result.
In the first call the desired result is achieved, but in the second one it
isn't.
I have something like
while($someArr=mysql_fetch_row($result))
{
...some code.
}
The first time I call mysql_fetch_row , the code inside the while loop gets
executed, but not the second time. What is the reason behind that.
Sounds more like a PHP question really, but have you thought about
trying mysql_fetch_array() instead? I can't see why it should be any
different, but it might be worth a shot - always works for me anyway.
:-)
But also: are you confident there's more than one row to be fetched?
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
He who slings mud, usually loses ground.
-- Adlai Stevenson
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]