php执行PDO都返回false
<?php$pdo=newPDO("mysql:host=localhost;dbname=dayone","root","");$res=$pdo->exec("ins...
<?php
$pdo = new PDO("mysql:host=localhost;dbname = dayone","root","");
$res = $pdo->exec("insert into onelist(name,pass) values ('you','3333')");
var_dump($res);
?>
为什么都是执行失败呀 展开
$pdo = new PDO("mysql:host=localhost;dbname = dayone","root","");
$res = $pdo->exec("insert into onelist(name,pass) values ('you','3333')");
var_dump($res);
?>
为什么都是执行失败呀 展开
展开全部
打开错误提示看一下。
追问
Warning: PHP Startup: Unable to load dynamic library 'pdo_firebird' (tried: C:\xampp\php\ext\pdo_firebird
Warning: PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: C:\xampp\php\ext\pdo_oci
追答
说明拓展没有正确安装
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询