pbillock
01-22-2005, 04:46 AM
Some things I do know:
- I have querries above and below this one that are working.
- the table is in the db
- The fields in the table are named properly
- the query , when PRINTED to the screen can be executed in phpMyAdmin properly.
- When I try to print out the mysql_errno or mysql_error, I get nothing.
when I do "SELECT 1" I am returned 1 ( the connection to the db is working)
the sql looks like this:
SELECT field1 FROM table WHERE field2 = 151 AND field3 = 13;
it's that simple but gives me nothing.
if I replace field1 with "count(*)" it also gives me nothing.
Another thing.. this is within a while loop with other querries being performed around it. but all the rest of them are working.. only this one is problematic.
it has me extremely stumped.
:confused:
- I have querries above and below this one that are working.
- the table is in the db
- The fields in the table are named properly
- the query , when PRINTED to the screen can be executed in phpMyAdmin properly.
- When I try to print out the mysql_errno or mysql_error, I get nothing.
when I do "SELECT 1" I am returned 1 ( the connection to the db is working)
the sql looks like this:
SELECT field1 FROM table WHERE field2 = 151 AND field3 = 13;
it's that simple but gives me nothing.
if I replace field1 with "count(*)" it also gives me nothing.
Another thing.. this is within a while loop with other querries being performed around it. but all the rest of them are working.. only this one is problematic.
it has me extremely stumped.
:confused: