Advertisement
pcwizz

Untitled

Sep 5th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2.  
  3. require_once 'config.php';
  4.  
  5. if ($_POST['body']){
  6. $body = $_POST['body'];
  7. $stmt = $mysqli->prepare("insert into reports (body) values (?)");
  8. $stmt->bind_param("s", $body);
  9. $stmt->execute();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement