Please register with your real name and do not post any SPAM! Violations: "Hk.", "Getagrip", "therain", "learnandwatch" and "lolox" => deleted
0 Members and 1 Guest are viewing this topic.
<?php require_once vlib/vlibTemplate.php; $tmpl = new vlibTemplate(tmpl/form_tmpl.htm); $tmpl->setVar(input, $_POST[input]); $tmpl->pparse();?>
<body><tmpl_if name=input op=<> value=> <p>You typed <b>{tmpl_var name=input}</b>.</p><tmpl_else> <form action="form_tmpl.php" method="post"> <input name="input"> <input type="submit"> </form></tmpl_if></body>