include("connection.php"); class news extends connection { function shownews() { $qry="select * from news where pstatus='1'"; $fireqry=mysql_query($qry,$this->conn) or die ("error in fire"); while($rec=mysql_fetch_array($fireqry)) { ?>
=$rec['message']?>