Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CreateBlock($id)
- {
- echo $id;
- $xxx =$id.'';
- $query = "INSERT INTO content (id) VALUES (?)";
- if($stmt = $this->si->database->prepare($query))
- {
- echo 'gitangens';
- }
- else
- {
- echo 'o co tu chodzi';
- }
- if ($stmt->bind_param('s',$xxx))
- {
- echo 'supi';
- }
- else
- {
- echo 'jp';
- }
- if($stmt->execute())
- {
- echo 'execute';
- }
- else
- {
- echo ' dupa ';
- }
- $stmt->close();
- }
Advertisement