Insert Into Database Using PHP From Your Website - Learn PHP Full Course for Beginners
Dani Krossing via YouTube
The Most Addictive Python and SQL Courses
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial shows how to insert signup form data into a database with PHP. It covers handling submitted data, connecting to the database, building an INSERT query, and using positional and named prepared statements to address SQL injection.
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