User Tools

Site Tools


basic_form

Creating a basic HTML form

<form method='post' action=''>
<input type='text' name='search_keyword'>
<input type='submit' name='search_button' value='Search'>
</form>

Adding some PHP code to dump the form conents

<?php
echo "<pre>";
print_r($_REQUEST);
echo "</pre>";
?>
basic_form.1560165030.txt.gz · Last modified: 2019/06/10 11:10 by nmckillop