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