I can't follow this thread very well, but I think the question has already been
answered.

In short, the code you originally sent us demonstrated a misunderstanding about
what mysql_query() returns. That function will return false if there is some
problem when trying to execute your query, and this has absolutely nothing to
do with how many rows were returned or anything like that.

So, if there was a problem, you can do something like this to see what it was:

echo mysql_error();

Otherwise, you need to use something like mysql_num_rows() to see the number of
rows in the result set.

So, the server you think is having trouble is probably the one that is not. :-)

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to