ik wil in de ene klom de 1e 10 topics uitlezen,da lukt maar in de 2e kolom wil ik topic 10 tot 20 uitlezen....daar zit het probleem...
$sql = "SELECT t.topic_title, t.topic_id, t.topic_replies, t.topic_time, f.forum_name, t.forum_id FROM topics t, forums f WHERE f.forum_id = t.forum_id ORDER BY topic_time DESC LIMIT $limit";
is de sql voor de eerste 10
en voor die 10 - 20 had ik zoiets :
$sql = "SELECT t.topic_title, t.topic_id, t.topic_replies, t.topic_time, f.forum_name, t.forum_id FROM topics t, forums f WHERE f.forum_id = t.forum_id AND t.topic_time = '$end' ORDER BY topic_time DESC LIMIT $limit";
zie je waar het neit gaat?
$sql = "SELECT t.topic_title, t.topic_id, t.topic_replies, t.topic_time, f.forum_name, t.forum_id FROM topics t, forums f WHERE f.forum_id = t.forum_id ORDER BY topic_time DESC LIMIT $limit";
is de sql voor de eerste 10
en voor die 10 - 20 had ik zoiets :
$sql = "SELECT t.topic_title, t.topic_id, t.topic_replies, t.topic_time, f.forum_name, t.forum_id FROM topics t, forums f WHERE f.forum_id = t.forum_id AND t.topic_time = '$end' ORDER BY topic_time DESC LIMIT $limit";
zie je waar het neit gaat?