MEME
This commit is contained in:
parent
74c44f36f9
commit
ace3ea61f7
@ -11,6 +11,7 @@ function addMeme(string $title, string $memeText, int $imageID): array
|
|||||||
$stmtMemeAdd->bind_param('issi', $_SESSION['ID'], htmlspecialchars($title), htmlspecialchars($memeText), $imageID);
|
$stmtMemeAdd->bind_param('issi', $_SESSION['ID'], htmlspecialchars($title), htmlspecialchars($memeText), $imageID);
|
||||||
if($stmtMemeAdd->execute() && $stmtMemeAdd->affected_rows > 0) {
|
if($stmtMemeAdd->execute() && $stmtMemeAdd->affected_rows > 0) {
|
||||||
$output["Status"] = "Success";
|
$output["Status"] = "Success";
|
||||||
|
$output["Meme"] = "Funny";
|
||||||
$output["Error"] = $stmtMemeAdd->error;
|
$output["Error"] = $stmtMemeAdd->error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user