[size=3]$stmt2 = $connect->prepare("INSERT INTO `posts` (`body`, `date_added`, `added_by`, `posted_to`, `user_id`) VALUES(?, ?, ?, ?, ?)"); if (false == $stmt2) { die('prepare() failed ' . htmlspecialchars($stmt2->error)); } $rc = $stmt2->bind_param('ssssi', $body, $date_added, $added_by, $posted_to, $id); if (false == $rc) { die('bind_param() failed ' . htmlspecialchars($stmt2->error)); } $stmt2->execute(); if (false == $rc) { die('execute() failed ' . htmlspecialchars($stmt2->error)); } var_dump($stmt2); $stmt2->close(); }[/size]

Blog Layout 2 Template

HomeBlog Layout 2 TemplatePage 15

Login Required Template

Cras sit amet libero eros, in ultricies lorem. Nunc et odio neque. Maecenas vehicula interdum hendrerit. Integer hendrerit orci ullamcorper neque pellentesque feugiat. Aliquam magna metus, fringilla non ultrices id, fringilla eu erat. Phasellus ...

Authors Template

Cras sit amet libero eros, in ultricies lorem. Nunc et odio neque. Maecenas vehicula interdum hendrerit. Integer hendrerit orci ullamcorper neque pellentesque feugiat. Aliquam magna metus, fringilla non ultrices id, fringilla eu erat. Phasellus ...