diff options
1 files changed, 16 insertions, 0 deletions
| -rw-r--r-- | src/controllers/CreateOfferController.php | 16 |
diff --git a/src/controllers/CreateOfferController.php b/src/controllers/CreateOfferController.php new file mode 100644 index 0000000..d510978 --- /dev/null +++ b/src/controllers/CreateOfferController.php @@ -0,0 +1,16 @@ +<?php +include_once('controllers/BaseController.php'); + +class CreateOfferController extends BaseController { + public static function get() { + include 'views/create-offer.php'; + } + + public static function post() { + echo "Posted"; + echo "Title: " . $_POST['title']; + echo "Description: " . $_POST['description']; + echo "Company: " . $_POST['company']; + echo "Salary: " . $_POST['salary']; + } +} |
