I'm using DreamWeaver to create a website. I need to be able to update information in a database from my website. Anyway, I created a database named "symptominformation" and a table named "information" in PHPMyAdmin. I now need to be able to connect to that database in DreamWeaver. I've been using PHP inside dreamweaver and it worked for sending forms, but now it won't let me connect.
I used this code and I get the "Unable to select database." Can anyone help me?
$username="I put in my username for westhost.com";
$password="I put in my password for westhost.com";
@mysql_select_db($database) or die("Unable to select database");