Summary Files Commits Branches @commit @diff @stats
path: root / src / controllers / CreateOfferController.php
blob: d5109782f55b214ae3b37f0b4fc962ab490b81e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'];
	}
}