//创建预处理对象
$stmt =$pdo->prepare("SELECT COUNT(*) FROM `user`;");
//执行查询
$stmt->execute();
echo '注册会员有:'.$stmt->fetchColumn();
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!