I’d like to know if it is possible to create a prepared statement with PHP and MySQL using the mysql library rather than the mysqli library.
I can’t find anything on the PHP documentation.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The PHP documentation quite clearly states (at the end of that page) that the
mysqlextension does not support prepared statements. An alternative tomysqlithat supports prepared statements would bePDO_MYSQL.