A Sample PHP Project for the tts_framework.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tts_project/src/ex/views/default/app/name_demo.php

19 lines
660 B

<?php
declare(strict_types=1);
$route_name_demo = "app/home";
$method_name_demo_post = "name_demo_post";
?>
<br/><br/>
<form method="post" action="<?= \tts\misc::get_url($route_name_demo, $method_name_demo_post) ?>">
<label for="fname">First Name: <input type="text" id="fname" name="first_name" size="15" /></label><br/>
<label for="lname">Last Name: <input type="text" id="lname" name="last_name" size="15" /></label><br/>
<label for="age">Age: <input type="text" id="age" name="age" size="2" maxlength="2" /></label><br/>
<input type="submit" />
</form>
<br>
<hr>
<a href="<?= \tts\misc::get_url("app/home", "index") ?>">Back to Main</a>