";
}
else
{
$errmsg = "Some error occurred while deleting.
";
}
}
$poplistsize=10;
$sql="SELECT count(*) FROM `{$prefix}comments` where `profileid` = ".$uid." ";
$totla=mysql_result(mysql_query($sql),0);
$pagenav=pageft($totla,$poplistsize,$siteurl."/mycomments/{$uid}",array());
$rs=mysql_query("select `srno`,`userid`, `profileid`, `comment`, `ondate` FROM `{$prefix}comments` where `profileid` = ".$uid." order by `srno` DESC LIMIT {$firstcount} , {$poplistsize}");
?>