PHP - Auto Creation of Database Tables and Insertion of Values
Greetings from Malawi the Warm Heart Of Africa.
This simple demo project i just want to share with you,so that you can learn how you create database and tables automatically when the index.php or home.php is initiated.
Creating a simple file with your database creation script as well as tables has a number of advatanges.
- You dont have to export/import the database everytime you want to share project folder
- Its easy to make changes to the database tables during development
- Your database is always safe incase the server has been uninstalled from your machine
This project you will also learn how to insert data into tables using modal forms because they are awesome and make your system standout.
How to use this project
- Download the zip folder
- Extract the folder
- Paste the exctracted folder in your server either www or htdocs location
- Run the index.php/the project on your browser
- The file which contains database and table creation script is saved as db_connect.php
I hope you will learn one or two things from this project if you have a project/job to hire me feel free to contact me [email protected]
God bless you and wish you happy coding life!!!
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.