Learning PHP and MySQL
Example 10-01 A simple form example
Put this code in a file named, simple.php
<html>
<head>
<title>Building a Form</title>
</head>
<body>
<form action="<?php echo($_SERVER['PHP_SELF']); ?>"
method="get">
<label>
Search: <input type="text" name="search" />
</label>
<input type="submit" value="Go!" />
</form>
</body>
</html>
Posted by on 08/18 at 10:50 AM