[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 9

Sample Page

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It ...

iPad mini

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 ...

Sony Xperia Z

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 ...