I'm a little lost, it's so much different to what I'm used to, here is the code I have (it is messy but this meant it worked)
PHP Code:
$result = mysql_query("SELECT vbfclassifieds_ads.title, vbfclassifieds_ads.userid, vbfclassifieds_ads.id, user.userid, user.username FROM vbfclassifieds_ads LEFT JOIN user ON vbfclassifieds_ads.userid = user.userid LIMIT 5");
How would I go around removing the table stuff and turning them into variables - then how do I use the while to just show 5 lines within that template?