Jump to content

Failed to select database: testdb


sanjays

Recommended Posts

I'm a total beginner to web designing and stuff.. My programming knowledge is limited to basic html and java.. I want to add a login page to a simple website that I am creating now using templates..

 

I understand that I have to make use of PHP and apache to create a database and check the login info..

 

"w w w.html-form-guide.com/php-form/php-registration-form.html" >> I managed to get a source code package for the registration page from this site

 

I downloaded wamp 2.2 and installed it with default settings..

 

Now when i execute the files in the package using wamp, I get an error

 

"

Failed to select database: testdb Please make sure that the database name provided is correct

mysqlerror:Unknown database 'testdb'

Database login failed!

"

 

how do I set the database name? ( :D I DID google it.. but couldnt find anything useful..so a little help here would be very useful)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...