PHP MySQL in DreamHost Tutorial 6 - Displaying Database Data in HTML
Add to List Share
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: http://bit.ly/ccbluehost.
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: http://bit.ly/JoinCCNewsletter
More content: http://CalebCurry.com
Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.
Your Cart 0
Manage research, learning and skills at defaultlogic.com. Create an account using LinkedIn to manage and organize your omni-channel knowledge. defaultlogic.com is like a shopping cart for information -- helping you to save, discuss and share.