if ($_POST['_submit_check']) { process_form();} else { show_form();}function process_form() { print "Hello, ". $_POST['my_name'];}function show_form() { print<<<_HTML_Your name: _HTML_;}?>