Topic: Extern.php SQL
Hello,
I want print via extern.php last 10 posts with their subjects but i dont know how to implement this sql queries.
select id, (select subject from topics where id = topic_id) from posts where id > ((SELECT MAX(id) from posts) - 10)
After execution this SQL we get 10 last subjects and last post ids. If someone could translate it to extern.php style it would be great ;-)
Regards