我该怎么办?
<?php
include 'config.php';
$comment_body=$_POST['cbody'];
$comment_author=$_POST['cauth'];
$post_id=$_POST['pid'];
$sql2=$con->prepare("INSERT INTO comments Values(NULL,:pid,:cauth,:cbody)");
$sql2->bindParam(':pid',$post_id);
$sql2->bindParam(':cauth',$comment_author);
$sql2->bindParam(':cbody',$comment_body);
$sql2->execute();
?>
答案 0 :(得分:0)
这应该有效:
setTimeout