Insert Into Database Using PHP From Your Website - Learn PHP Full Course for Beginners
Dani Krossing via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to insert data into a database using PHP from your website in this comprehensive 23-minute tutorial. Explore the importance of prepared statements and SQL injection prevention, create a user signup HTML form, and implement a form handler. Master techniques for grabbing user data, establishing database connections, and crafting INSERT SQL queries. Dive into both positional and named parameter prepared statements to enhance your PHP skills and create more dynamic, secure websites.
Syllabus
- Introduction
- Prepared Statements & SQL Injection
- User signup HTML form
- Creating formhandler.inc.php
- Grabbing the user data
- Grabbing the DB connection
- Creating our INSERT SQL query
- Positional parameters Prepared Statement
- Named parameters Prepared Statement
Taught by
Dani Krossing