摘要:
PDO::prepare语法: PDO::prepare(string$statement[,array$driver_options= array()] )方式一:$sql="select * from news where author=:author and title=:title";$prepare=$db->prepare($sql,array(PDO::ATTR_CURSOR,PDO::CURSOR_FWDONLY));$prepare->execute(array(":author"=>"zyf",& 阅读全文
posted @ 2011-09-15 16:23 bug yang 阅读(939) 评论(0) 推荐(0) 编辑