Hello,
I want to not show my form when there are no $_GET values present. I got it somehow working with the following code, but die() obviously stops all PHP processing which means a blank page with my text printed on it. Is there some sort of way to not render the form?
I want to not show my form when there are no $_GET values present. I got it somehow working with the following code, but die() obviously stops all PHP processing which means a blank page with my text printed on it. Is there some sort of way to not render the form?
<?php
$date = $_GET['date'];
if($date != ''){
$form->data['date'] = $date;
} else {
echo "No GET values present";
die();
}
?>