Posted by:
stevenmartin99
(---.b-ras1.blp.dublin.eircom.net)
<?
$dbhost = 'localhost';
$dbuser = 'username';
$password = 'pasword';
mysql_connect($dbhost,$dbuser,$password);
$dbname = 'dvd';
@mysql_select_db($dbname) or die( "Unable to select database"
;
$query = 'SELECT * FROM actor';
$result = mysql_query($query);
echo $result;
?>
try this code.... use ur username password and dbname if different