//要想让php与pdo 就必须在php.ini里面修改一个参数把extension=php_pdo.dll ";"去了。
//
$path ="d:pdoddSpiderResult.db3";
$conn = new PDO("sqlite:$path");
$array=array('','','');
if( $conn )
{
echo ('pdo 连接正常connection pdo success');
}
else
{
echo ('pdo php cnnection pdo fail ,plase check database server!');
}
foreach ($conn->query('SELECT * FROM content limit 0,1') as $row)
{
print_r($row);
die();
}
//本站原创www.111cn.net
已抢186463个
抢已抢67249个
抢已抢352925个
抢已抢667035个
抢已抢122083个
抢已抢23186个
抢