Prepared Statements

Prepared statements are handled by the following set of scripts:

  • doprepare.php prepares an SQL statement with placeholders (parameters) and returns a statement identified which is used by the other scripts
  • dorunprep.php runs a prepared statement with parameter values passed in
  • docloseprep.php closes a prepared statement