Jamaica trevoir.williams@gmail.com

Create MySQL Database Records with PHP

Read Post
Share on:

This lesson shows us how to use our PHP Data Object library in our PHP application, to insert new records into our MySQL Database

In our previous lesson, we created code libraries that will initialize a PDO object. Using this object, we can leverage the inherent functions and write code to interact with our database. The next steps involve us using this object to carry out CRUD operations.

In this lesson, we modify our PHP form and action page to forward any submitted data from the form, to our database.

If you liked this video and would like to see some more lessons, please subscribe to my YouTube Channel and/or leave a comment below.

If you are new to PHP and would like to understand basic syntax, then you can complete this free PHP Basics course.

Jump start your PHP career today!

Trevoir Williams

Jamaican Software Engineer and Lecturer.