Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global $mysqli;
- $stmt = $mysqli->prepare("SELECT id, description FROM tbl_page_answer_category WHERE cur_own_id = ?");
- $stmt->bind_param('i', $cur_id);
- $stmt->execute();
- $stmt->bind_result($uid, $desc);
- mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
- $stmt = $this->con->prepare("INSERT INTO table(name, quantity) VALUES (?,?)");
- $stmt->bind_param("si", $name, $quantity);
- $stmt->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement