prepare($sql_str); $stmt->bindParam(':kind', $kind); $stmt->bindParam(':related_id', $related_id); $stmt->bindParam(':title', $title); $stmt->bindParam(':content', $content); $stmt->bindParam(':haveread', $haveread); $stmt->bindParam(':permission', $permission); $stmt->bindParam(':creater', $creater); $stmt->bindParam(':create_at', $create_at); $stmt->execute(); }