- function submitted_information()
- {
- $complete_day = date("l");
- if ($_POST['day'] == $complete_day)
- {
- return "This is correct! It is " . $complete_day . " today!";
- }
- else
- {
- return "This is <strong>NOT</strong> correct. It is " . $complete_day . " today!";
- }
- }
- $response = submitted_information();
- print $response;
