'X'"; //print $sql; $rec=mysql_query($sql,$db); $num=mysql_num_rows($rec); if(($num%$messperpage)>0){ $pagecount=ceil($num/$messperpage); }else{ $pagecount=($num/$messperpage); } $sql="SELECT * FROM guestbook WHERE status<>'X' ORDER BY dateinsert DESC, timeinsert DESC LIMIT $messperpage OFFSET $firstmess"; //print $sql; $rec=mysql_query($sql,$db); $num=mysql_num_rows($rec); ?> Suomen Burmillat ry
VIERASKIRJA
  Jätä viesti
;"> Nimi: ".$row["sender"]."
";?> Sähköpostiosoite: ".$row["email"]."
","");?> Viesti:
".str_replace("\n","
",$row["messagebody"])."
";?>


$i "; }else{ print "$curpage "; } } ?>
<< Takaisin