The connection is straight out of a book, so I don't know what else to do with it if it doesn't connect.
Here's the code:
$connection = mysqli_connect("host", "catalogName", "Password") or
die ("couldn't connect with Database");
mysqli_select_db($connection, "catalogName") or
die ("couldn't select database");
In every example I've seen, this works. But it doesn't work for me.
I'm using Dreamweaver and my host does have the entire mysql, php thing put on it - the database is real and already created.

New Topic/Question
Reply




MultiQuote






|