Code Monkey home page Code Monkey logo

php-database-connection's Introduction

PHP-Database-connection

GitHub license MADEIN PRs Welcome HitCount

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.

php-database-connection's People

Contributors

faouziamrouche avatar palmerhinchliffe avatar shauryauppal avatar younesdiouri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-database-connection's Issues

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.