> The only obvious thing that I can see is that you're checking
if the
> number of results is greater than a string, not a number.
I believe PHP
> automagically converts it into an integer for the
comparison, but try
> changing it to an actual integer and seeing
if that resolves it.
>
> There i
On Wed, 2011-03-23 at 15:34 -0400, Curtis Maurand wrote:
>
> I've been having a problem when querying a database with php and the mysql
> library the offending code follows. If the result is an empty
> set, PHP hangs. I've had to add code to the script to set up a max
> execution time to kill t
I've been having a problem when querying a database with php and the mysql
library the offending code follows. If the result is an empty
set, PHP hangs. I've had to add code to the script to set up a max
execution time to kill the script after 30 seconds if it doesn't
complete. This is happen
3 matches
Mail list logo