Save HTML Form Data to a MySQL Database Using PHP

Save HTML Form Data to a MySQL Database Using PHP

Dave Hollingworth via YouTube Direct link

Introduction

1 of 23

1 of 23

Introduction

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Save HTML Form Data to a MySQL Database Using PHP

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Introduction
  2. 2 Create the HTML file
  3. 3 Simple text input
  4. 4 Labels
  5. 5 Textarea
  6. 6 Styling with CSS
  7. 7 Lists
  8. 8 Radio buttons
  9. 9 Fieldset
  10. 10 Checkbox
  11. 11 Create the PHP file
  12. 12 Get the form data
  13. 13 Filter the data
  14. 14 Validate the data
  15. 15 Create the database
  16. 16 Create the table
  17. 17 Connect from PHP
  18. 18 Write the SQL
  19. 19 SQL injection attack
  20. 20 Prepared statement
  21. 21 Bind values to placeholders
  22. 22 Insert the data
  23. 23 Summary

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.