当mysqli和PDO不可用时,可能有准备好的语句吗? [英] Prepared statements possible when mysqli and PDO are not available?

查看:48
本文介绍了当mysqli和PDO不可用时,可能有准备好的语句吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当mysqli和PDO不可用时,是否可以使用PHP/mysql编写的语句?梨有解决此问题的解决方案吗?

Are PHP/mysql prepared statements possible when mysqli and PDO are not available? Are there working Pear solutions for this problem?

推荐答案

http://pear.php.net/manual/en/package.database.mdb2.intro-execute.php

其中应包含您需要的所有信息.

That should contain all the information you need.

否则,标准的mysql_ *函数不提供准备好的语句的功能.

Otherwise, the standard mysql_* functions do not provide functionality for prepared statements.

这篇关于当mysqli和PDO不可用时,可能有准备好的语句吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆