hi friends 
I have modify page chat.php at my wapdesire script :
any1 say how I can setting max 20 messages 4 page???
and how this:
please help to fix...
I have modify page chat.php at my wapdesire script :
Code:
addtochat($uid, $rid);
$timeto = 90000;
$timenw = time();
$timeout = $timenw-$timeto;
$deleted = mysql_query("DELETE FROM ibwf_chat WHERE timesent<".$timeout."");
$rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id='".$rid."'"));
$rname = $rooms[1];
$nick = getnick_sid($sid);
and how this:
Code:
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"chat.php?action=$action&page=$ppage&sid=$sid\">«PREC</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"chat.php?action=$action&page=$npage&sid=$sid\">Succ»</a>";
}
echo "
$page/$num_pages
";
Comment