PHP – PDO inserting empty strings into database
i’m trying to create an account system for my personal project website. i’m having trouble with the registration; when i insert the values from the form and check the database, there is a row inserted, but it only contains empty values. PDO doesn’t throw any exceptions.
PHP – PDO inserting empty strings into database
i’m trying to create an account system for my personal project website. i’m having trouble with the registration; when i insert the values from the form and check the database, there is a row inserted, but it only contains empty values. PDO doesn’t throw any exceptions.
Error preventing SQL injection in my code
I have the following code: