Update
This commit is contained in:
1 parent
bcbdd16ceb
commit
0555ba582f
1 file changed
+1
-1
@@ -36,7 +36,7 @@ class Database
|
||||
|
||||
public function addQuestion($question, $answer0, $answer1, $answer2, $solution)
|
||||
{
|
||||
$statement = $this->connection->prepare("INSERT INTO questions(question, answer0, answer1, answer2, solution) VALUES(?, ?, ?, ?)");
|
||||
$statement = $this->connection->prepare("INSERT INTO questions(question, answer0, answer1, answer2, solution) VALUES(?, ?, ?, ?, ?)");
|
||||
$statement->bind_param("s", $question);
|
||||
$statement->bind_param("s", $answer0);
|
||||
$statement->bind_param("s", $answer1);
|
||||
|
||||
Reference in new issue
Block a user