I'm by no means a PHP expert but I've made several PHP based websites before. I had a website running that had a full member database with loggin in and private messaging capabilities all written in PHP. I haven't done any PHP coding in awhile though and I started trying to write something today, here's the code:
<?php
$user="feezle06_feezle";
$host="localhost";
$password="*snip*";
$database="feezle06_southside";
$connection = mysql_connect($host, $user, $password) or die ("Could not connect to server.");
$db = mysql_select_db($database, $connection) or die ("Could not select database.");
?>
When I load the page up it has the "Could not select database." message I programmed in. I cannot for the life of me figure out whats wrong? The database feezle06_southside exists, I know that for a fact. Did I mess something up?