Giter VIP home page Giter VIP logo

fernandod1 / form-insert-mysql Goto Github PK

View Code? Open in Web Editor NEW
8.0 0.0 5.0 7 KB

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

Home Page: https://www.fernando.info

License: Other

PHP 100.00%
php php5 phpmyadmin php7 mysql mysqli mysql-database mysql-connection mysql-connector form forms sql insert-data insertion insert-records insert-script inserting

form-insert-mysql's Introduction

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.

form-insert-mysql's People

Contributors

fernandod1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.