Hey all,
Forgive my newbieness... I just discovered these forums and they ROCK!
How do I query several tables but get one piece of info? I'm so confused... I use phpmyadmin to practice but I always get like 4 or 5 rows back of details. Am I not being specific enough in the WHERE clause?
example: DB=test and Tables=tbl1, tbl2, tbl3
(all of which have the same types of colums)
Does this make sense? I'm new to joins and trying to understand them. Perhaps someone can offer advise.PHP Code:$slq = "SELECT * FROM tdb1, tdb2, tdb3 WHERE username = $uid AND article = $artID";
THANKS!!
JP





Bookmarks