Whats wrong with it, config.php is correct and i can connect to the databace.
<?php
include("config.php");
$tbl_name="news"; // Table name
// Retrieve data from database
$sql="SELECT * FROM $tbl_name";
$result=mysql_query($sql);
// Start looping rows in mysql database...
Need to provide a function what allows text to be displayed on the homepage, to allow the admin to post notes about site news or site maintenance etc. Must be done using MySQL
Could someone give me some gaudiness
Thanks :)