Difference between revisions of "PHP 101"

From ESE205 Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
[[File:databaselogin.jpg|800px|200px]]
 
[[File:databaselogin.jpg|800px|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
  
  
 
[[Category:HowTos]]
 
[[Category:HowTos]]

Revision as of 04:50, 2 May 2017

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