I've got a simple question that I could answer myself if I hadn't lost all my PHP / MySql reference manuals in a house fire last week.
If someone could give me a quick answer I would certainly appreciate it..
Basically I need to know if I am doing a join of all fields from 4 different tables in a select query, do each of the tables have to have exactly the same layout, number and names of fields?
$query = "
SELECT * from current, mine, sponsor, toplist
WHERE current.catagory = '$catagoryname',
mine.catagory = '$catagoryname',
sponsor.catagory = '$catagoryname'
toplist.catagory = '$catagoryname'
";
I'm thinking that the answer is going to be that they need to be the same, or I won't be able to know what data is in what field, but I'm just a bit confused with this one, so I figured the quickest way to a definitive answer was to bring it here..
thanks in advance
doug
showman