Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'config.php';
- if ($_POST['body']){
- $body = $_POST['body'];
- $stmt = $mysqli->prepare("insert into reports (body) values (?)");
- $stmt->bind_param("s", $body);
- $stmt->execute();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement