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.
The PHP documentation quite clearly states (at the end of that page) that the mysql
extension does not support prepared statements. An alternative to mysqli
that supports prepared statements would be PDO_MYSQL
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With