php?数据库查询
$id=array(23,24);
$sql =" select `series_title` FROM ca_series where id in $id";
//我想查id在23,24里的内容
echo $sql;
输出的效果:select `series_title` FROM ca_series where id in Array
想要的效果:select `series_title` FROM ca_series where id in (23,24);
相关推荐
PHP连接各种数据库代码
PHP连接各种数据库代码 PHP连接各种数据库代码还可以
PHP操作MYSQL数据库
PHP操作MYSQL数据库,好资料,免费奉送!免费的才是真正的共享!
通过PHP访问MySQL(毕业设计外文翻译)
译文: 现在你已经可以熟练地使用MySQL客户端软件来操作数据库里的数据,我们也可以开始学习如何使用PHP来显示和修改数据库里的数据了。PHP有标准的函数用来操作数据库。 . . . . . . 原文: Getting PHP to Talk to MySQl Now that you’re comfortable using the MySQL client tools to manipulate data in the database, you can begin using PHP to display and modify data from the database. PHP has standard functions for working with the database.First, we’re going to discuss PHP’s built-in database functions. We’ll also show you how to use the The PHP Extension and Application Repository (PEAR) database ......
PHP连接SQL server数据库测试脚本运行实例
主要介绍了PHP连接SQL server数据库测试脚本运行实例,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
php版ip查询源代码
php版ip查询源代码php版ip查询源代码php版ip查询源代码php版ip查询源代码


