For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > August 2004 > [MySQL] Sometimes I get empty rows from SELECT query...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [MySQL] Sometimes I get empty rows from SELECT query...
Michal Pleban

2004-08-28, 8:55 am

Hello!

I'm writing a PHP script which accesses a MySQL database. As it turns
out, sometimes I get an empty row from a SELECT query which should
normally return one or more rows. The same query executed a while later,
on unchanged data, returns the rows perfectly fine. No errors are
returned, just mysql_fetch_array simply returns nothing. What can be a
caouse of this? Perhaps I forgot to put mysql_free_result somewhere, and
it causes such effects? Anyone had this problem before?

Best regards,
Michau.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com