Location: PHPKode > projects > Basic Announce > Basic Announce Version 4.0/pages/news2.php
<?php
////////////////////////////////////////////////////////////////////////////////
//////////////////Basic Announce By Harry Smith/////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////// COPYRIGHTED TO Bull Web Host Hosting Services And Harry Smith ////
////////////////////////////////////////////////////////////////////////////////
?>
<?php



// Connects to your Database
require'config.php';


mysql_connect($dbhost,$username,$password) or die(mysql_error());



mysql_select_db($database) or die(mysql_error());



$data = mysql_query("SELECT * FROM $table")



or die(mysql_error());







while($info = mysql_fetch_array( $data ))



{



Print "<tr>";



Print "<td>".$info['Announcement'] . "</td> ";



Print "<br>";



Print "<th>Submitted By:</th> <td>".$info['Submitted'] . "</td> ";



}



;



?> 
Return current item: Basic Announce