PHP MySQL in DreamHost Tutorial 6 – Displaying Database Data in HTML



This video is rundown on how to display database content inside of an html page. This is very useful for creating CRUD applications. CRUD stands for create, read, update, delete. Essentially, a crud application gives a user friendly UI for working with the database.

Interested in joining DreamHost? Go here:

The way we display content from the database is using the foreach loop. The foreach loop takes the item we are iterating over, and the name to use to reference each element of the item. Confused? Think of it like a table has multiple rows, and a row has multiple fields.

The beauty in using a server side scripting language and a database like MySQL is that you can create dynamic websites. The HTML rendered by dynamic websites will change whenever content in the database changes.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Support me!

Subscribe to my newsletter:…

PHP MySQL in DreamHost Tutorial 6 – Displaying Database Data in HTML



This video is rundown on how to display database content inside of an html page. This is very useful for creating CRUD applications. CRUD stands for create, read, update, delete. Essentially, a crud application gives a user friendly UI for working with the database.

Interested in joining DreamHost? Go here: https://www.dreamhost.com/r.cgi?1487063.

The way we display content from the database is using the foreach loop. The foreach loop takes the item we are iterating over, and the name to use to reference each element of the item. Confused? Think of it like a table has multiple rows, and a row has multiple fields.

The beauty in using a server side scripting language and a database like MySQL is that you can create dynamic websites. The HTML rendered by dynamic websites will change whenever content in the database changes.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Support me! http://www.patreon.com/calebcurry

Subscribe to my newsletter:…