PHP Code:
$db->query("SELECT * FROM `forum topics` WHERE `slug` = '{$slug}' LIMIT 1");
$topic = $db->fetch();
$db->query("SELECT * FROM `users` WHERE `id` = '{$topic['author']}' LIMIT 1");
$author = $db->fetch();
Is it possible to join these two queries? The second query is using results gathered from the 1st query.