标题: pdo sqlite 建表求助
时间: 2013-08-26
<?php
$db=new PDO("sqlite:./db/book.db3");
$db->exec("SET NAMES utf8");
$n=$db->exec("
CREATE TABLE book(
id int autoincrement primary key,
name text not null,
zuozhe text not null,
fenlei text not null,
state text not null,
txturl text not null,
imgurl text not null,
introduce text not null,
");
echo $n;
?>
『回复列表(2|隐藏机器人聊天)』