hey,
here's my problem:
i have 10 similar tables. each of these contains following fields:
ID,title,description,imagepath,created.
created means the date (timestamp).
now i want to select from these 10 tables the youngest 5 entries. but what's the right code for it??
this does not work:
("SELECT table4.ID,
table6.ID,
table4.title,
table6.title,
table4.description,
table6.description,
table4.imagepath,
table6.imagepath
FROM $table4 as table4,$table6 as table6
ORDER BY
table4.created,table6.created DESC limit 0,5")
here i tried with only two tables...
any ideas??
thanx for help!