Im creating this code for my site and im getting the error
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource
the error is from this line but i cannot see whats wrong. Can anyone see what is wrong with it?
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource
the error is from this line but i cannot see whats wrong. Can anyone see what is wrong with it?
| Code: |
| $yourhubs = mysql_query("SELECT * FROM hubs WHERE airline_id='$uid'");
while($yourhubs = mysql_fetch_object($yourhubs)) |
