PHP 101

From ESE205 Wiki
Jump to navigation Jump to search

Grocery Guru

Description

In order to establish a connection between an application and the SQL database, a server must be used. For this tutorial, we used Bluehost to create a web domain, a database, and a database user. With this information, we can write PHP files to establish a connection to the database and provide the ability to update or change the items in the table of the database.

Setting Up the Database

Create a new database on Bluehost and set up a user to access the database.

200px

Use phpMyAdmin, the built-in app on Bluehost, to create a table in the database. Set columns and insert rows into the database.

photo