https://github.com/shauryauppal/php-database-connection
Guide for PHP and SQL connection with HTML form.
https://github.com/shauryauppal/php-database-connection
connection hacktoberfest mysql-php php php-database-connection
Last synced: 8 months ago
JSON representation
Guide for PHP and SQL connection with HTML form.
- Host: GitHub
- URL: https://github.com/shauryauppal/php-database-connection
- Owner: shauryauppal
- License: mit
- Created: 2017-08-29T14:10:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T13:12:48.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T15:11:25.403Z (8 months ago)
- Topics: connection, hacktoberfest, mysql-php, php, php-database-connection
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 16
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP-Database-connection
[](https://github.com/shauryauppal/PHP-Database-connection/blob/master/LICENSE) [](https://github.com/shauryauppal/PHP-Database-connection) [](http://makeapullrequest.com) [](https://github.com/shauryauppal/PHP-Database-connection)## Guide for PHP and SQL connection with HTML form.
## Database1
+ This PHP code is to connect to PHP to SQL and Create a database.
*********************
## Database2
+ Connects SQL
+ Select already created database
+ Create a table for the database
*************
## Database3
+ Inserting values into the table created.
***************
## Database4
+ Fetch data from HTML form and store the data entered in the form to SQL database table created.
**************
## Database5
+ Displays the data store in SQL database table.
+ mysql_fetch_array, fetch the data from SQL table and prints it on the webpage.**************
## Database6
+ Login with username and password to the user table in the db.
+ Uses POST requests containing the required fields.**************
## Form.html
+ It is the HTML form in which data is entered that gets stored in SQL database table.********************
## db.php
+ It is a connection file that helps you not to write your connection and selection on database code again and again. We simply include this file in our PHP code for connection.
**********************************