sanjays Posted October 21, 2012 Report Share Posted October 21, 2012 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? ( I DID google it.. but couldnt find anything useful..so a little help here would be very useful) Quote Link to comment Share on other sites More sharing options...
falkencreative Posted October 21, 2012 Report Share Posted October 21, 2012 You need to access Wamp's PHPMyAdmin and create a new database. This video uses XAMMP, but it demonstrates the process of using PHPMyAdmin: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.