I want to bind variables instead of just building SQL strings. Anyway to do this in Php?
Either MySQL or PostgreSQL answers would help.
Thanks
See Question&Answers more detail:osI want to bind variables instead of just building SQL strings. Anyway to do this in Php?
Either MySQL or PostgreSQL answers would help.
Thanks
See Question&Answers more detail:osThere's e.g. PDO.
An introduction to pdo and prepared statements (including bound parameters) is located at http://docs.php.net/pdo.prepared-statements