0

mysqli::prepare -- mysqli_prepare — Prepares an SQL statement for execution

I don't really understand when you say "prepare an SQL statement", what actually is happening?

$stmt = $mysqli->prepare("SELECT username FROM users WHERE username = ?");

JethroT
  • 27
  • 5
  • You need more than what is already available at https://www.php.net/manual/en/mysqli.quickstart.prepared-statements.php and https://www.tutorialrepublic.com/php-tutorial/php-mysql-prepared-statements.php ? – mickmackusa Apr 23 '23 at 08:01

0 Answers0