query($sql);
if($result){
echo "Success! Added your topic to the forum " . $username . ".
";
echo "View your topic here.";
exit();
}
else {
echo "ERROR. Possible errors to inserting the form:
- You typed an apostrophe. When doing so, please type a backslash before typing one.
- You submitted unicode. Please keep content to english.
- You typed MySQL code that is similar to: INSERT INTO stuff(topic, username, values) VALUES('e', 'e', 'e');. Please don't try to expose the website to SQL injection.
If you believe this is not true, contact us at support@corelia.online.";
exit();
}
$conn = null;
exit();
?>