how to check post is the last post or not
#1
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
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)