PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi all, I have the following code and the relevant database and tables set up on a localhost. Yet the query is returning nothing. No error message or results.
Your spot on. Thankyou so much. I was storing the result from the mysql_select_db in the wrong place. I don't need to store it and also as you have shown the $query should come before the database connection in $result.