|
Administrator
|
Posts: 1016
Join Date: Mar 2005
|
That's strange.
Let's see if there's a MySQL error.
Modify the line as follows. From:
Code:
$result = mysql_query("SELECT p.post_id, p.post_author, p.post_author_id, p.post_author_ip, p.post_text, p.post_text_status, p.post_time, p.post_edited, p.post_edited_by, p.post_edited_time, u.user_numposts, u.user_regdate, u.user_allowviewonline, u.user_lasttimereadpost FROM {$dbpref}posts p LEFT JOIN {$dbpref}users u ON p.post_author_id=u.user_id WHERE p.topic_id='$t' ORDER BY post_time LIMIT $startfrom,$postsperpage");
to
Code:
$result = mysql_query("SELECT p.post_id, p.post_author, p.post_author_id, p.post_author_ip, p.post_text, p.post_text_status, p.post_time, p.post_edited, p.post_edited_by, p.post_edited_time, u.user_numposts, u.user_regdate, u.user_allowviewonline, u.user_lasttimereadpost FROM {$dbpref}posts p LEFT JOIN {$dbpref}users u ON p.post_author_id=u.user_id WHERE p.topic_id='$t' ORDER BY post_time LIMIT $startfrom,$postsperpage") or die(mysql_error()); you add the or (die(mysql_error())
Next, go to phpMyAdmin in your control panel and see if the seo_board_posts table has the posts in it.
Have you made changes to the code? __________________Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
|