Actionhandler geimplementeerd.

This commit is contained in:
2019-05-17 16:33:24 +02:00
parent 89dcca3021
commit 4a050eda84
12 changed files with 105 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
<?php
//dit bestand bestaat grotendeels uit dummy code.
//Ik heb onvoldoende tijd gehad tijdens de afgelopen paar weken en het was extreem druk in de klas tijdens de les.
if(HUtils::issetPost(['topic_title', 'topic_content', 'topic_author']));
{
$topic_title = $_GET['topic_title'];
$topic_content = $_GET['topic_content'];
$topic_author = $_GET['topic_author'];
Database::createThread($topic_title, $topic_content, $topic_author);
}
?>