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

Images

HomeShortcodesImages

Image

[image src="#" caption="#"]

Parameters

src
(string) The image source url.
caption
(string) (Optional) Show the caption for the image.


Popup Image

[fancybox src="#" w="150" caption="caption"]

Parameters

url
(string) The image url.
caption
(string) (Optional) Show the caption for the image.
h
(integer) select the height for the thumb.
w
(integer) select the width for the thumb.