php join tables
View Single Post
09-30-2008, 08:56 PM
Join Date: Apr 2007
Your SQL query has errors where you write the table names. Anything in back-ticks (
) is taken literally so the query is read as though you're looking for tables literally named
within the current database (assuming,
). If you really must use back-ticks then a corrected query would be:
SELECT * FROM `dom`.`user_comments`, `dom`.`members` WHERE ...
The Following User Says Thank You to Salathe For This Useful Post:
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe