In this PHP tutorial I will demonstrate how to delete records from a MYSQL database via PHP using MYSQLi.
First I will cover how to delete data from the MYSQL database using the command line. After that I will add a delete button to each row in our HTML table. When pressing the delete button that row will be removed from the database via PHP. The records ID will be passed to PHP via a get request.
==== GET EARLY ACCESS TO FUTURE VIDEOS & TUTORIALS ====
Patron: http://bit.ly/2hmVKwX
======== RECOMMENDED PROGRAMMING RESOURCES ========
Manning programming books and courses: http://bit.ly/2BIrExp
PHP Books:
http://howtocodewell.net/shop/books/php
PHP Hosting from Cloudways:
http://bit.ly/2CB4mWD
======== MY PROGRAMMING COURSES ========
Docker in Motion: http://bit.ly/2vvz2sA
Skillshare courses: http://skl.sh/2gI33M5
Udemy courses: http://bit.ly/2iGhvIE
======== WEB HOSTING DEALS ========
Cloudways: http://bit.ly/2CKb79b = 20% off first 6 months
Digital Ocean: https://m.do.co/c/9d4641c62263 = $10 off
Linode: http://bit.ly/2CmoNq3
======== SUBSCRIBE TO THE NEWSLETTER ========
Join the Newsletter: http://bit.ly/2fPlG3v
======== FOLLOW ME ========
Blog: http://peterfisher.me.uk
Facebook: / howtocodewell
Instagram: / howtocodewell
Twitter: / howtocodewell
Pintrest: http://pinterest.co.uk/howtocodewell/
Twitch: / howtocodewell
======== MY TALKS ========
How to put your Docker image on a diet: http://bit.ly/2y5KMly
======== SUPPORT THE CHANNEL ========
Become a Patron: http://bit.ly/2hmVKwX
Donate: https://www.paypal.me/howToCodeWell
Help translate the videos: http://bit.ly/2iEyxXB
======== VIDEO SETUP ========
Nikon D5300 Camera: http://amzn.to/2u5jreD
Logitech HD Pro Webcam C920 http://amzn.to/2C5NNVJ
CRAPHY Photography Studio Lights: http://amzn.to/2BThzOc
Rode Procaster Microphone: http://amzn.to/2sH2WJ1
Rode VideoMic Pro: http://amzn.to/2vmNF0D
Zoom H4NPro: http://amzn.to/2kZrrvo