Thats not much information to go on, but from what info you gave:
You either didnt create the database using myPHPadmin or similar admin interface and enter the info correctly in the script:
example:
$connect=mysql_connect("localhost", "mysql username", "mysql password");
Or,
you didnt give the script the correct name of the database:
example:
$connect=mysql_connect("localhost", "mysql username", "mysql password");
$db=mysql_select_db("data base name YOU created");
Or,
Usually the next step in the script is to create the "tables" that go in the database. You may not have uploaded the files that hold that info.
|