This simple program will allow you to connect to the MySQL database using the database information you entered on the text boxes.
I signed up in a free hosting service to test the codes. I created a MySQL database inside the free hosting service I signed up and used the database information to test the program.
The downloadable file includes:
index.php
connect.php
Preview:
The program was tested many times and it worked just fine. The database information you see in the screenshot above is the one I created. You can download the source code below and then install it in your server.
- All the boxes need to be filled out else it will result to an error.
- One wrong database information will also result to an error.
Click here to download