2010-02-21, 11:44 AM
Hello, Can You Tell me , How Do we Check the post is the last post or not
this is the Query for first post checking
What will be the Query for Checking Last post
thanks in advance
this is the Query for first post checking
Quote:$query = $db->simple_select("posts", "pid", "tid='{$tid}'", array("limit" => 1, "order_by" => "dateline", "order_dir" => "asc"));
$firstcheck = $db->fetch_array($query);
What will be the Query for Checking Last post
thanks in advance