Skip to content

Simply example of PHP script that includes a html form to insert its data into Mysql database.

License

Notifications You must be signed in to change notification settings

fernandod1/Form-insert-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Form-insert-mysql

DESCRIPTION:

Simply example of PHP script that includes a html form to insert its data into Mysql database.

REQUIREMENTS:

PHP & MySQL

USAGE:

1.) Create MySQL table called "table_form" that will receive form content. To do this, simply import table struct of file “table_form.sql” attached.

2.) Open file "form.php" using a text editor and modify the following lines to use your MySQL hosting configuration: $mysqlserverhost = "YOUR-MYSQL-HOST"; $database_name = "YOUR-MYSQL-DATABASE-NAME"; $username_mysql = "YOUR-MYSQL-USERNAME"; $password_mysql = "YOUR-MYSQL-PASSWORD";

3.) Upload file "form.php" to your hosting account and load it through browser.

4.) Fill form with any data you want to be inserted in MySQL table named "table_form".

COLLABORATIONS:

Collaborations to improve script are always welcome.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy