$query2="insert into `articles` set article_title=:article,user_name=:user,post_id=:postid article_content=:articlecontent,article_rank=:rank,add_date=:date,article_100img=:article_100,articl e_200img=:article_200,article_400img=:article_400,artcle_600img=:article_600,article_slug=:slug";
$stmt=$db->prepare($query2);
$stmt->bindParam(':article',$article_title);
$stmt->bindParam(':articlecontent',$article_desc);
$stmt->bindParam(':rank',$rank);
$stmt->bindParam(':date',$date);
$stmt->bindParam(':article_100',$x100img);
$stmt->bindParam(':article_200',$x200img);
$stmt->bindParam(':article_400',$x400img);
$stmt->bindParam(':article_600',$x250img);
$stmt->bindParam(':slug',$slug);
$stmt->bindParam(':user',$name);
$stmt->bindParam(':postid',$id);
$stmt->execute();
我不知道这段代码有什么问题..所以请帮助我。