How can I check that the user is already registered in php?
This is PHP code that should add a user to the database, but the check for the fact that the email may already be registered does not work. I tried using num_rows, count and other methods, but the check either missed everything or did not allow any registration (even if the email I want does not exist in the database). I’m using mysqli
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax;
This is the error i received when executing my update button
Mysqli not showing anything on website (hot_info, exceptions)
some who doesn’t know what they’re doing here. I am trying to connect to a MySQL database with mysqli from a PHP site running on a local Apache server with PHP 8.3.7, but even when I supply the wrong credentials mysqli is not throwing an exception (not showing on website).