video #38C - Advance PHP | SQL (Insert, Update, Delete)

6 months ago
3

This is the 3rd video #38C. Remember on our last video we open the database and selected records to display as a table. I added several lines of global variable. I included a conditional statement to check for existing variable from the form.

The “array_key_exists” function checks an array for a specified key, and returns true if the key exists and false if the key does not exist. Form data goes into an associative array. We filter by sanitizing the input form data by checking if it is a string. I use this variable to check against a variable that I am creating holding a password.

Loading comments...