Learning PHP and MySQL
Example 10-03 Form default values
<html>
<head>
<title>Form Default Values</title>
</head>
<body>
<form action="<?php echo($_SERVER['PHP_SELF']); ?>" method="GET" />
<label>Min Price <input type="text" name="min_price" value="0" /></label><br />
<label>Max Price <input type="text" name="max_price" value="1000" /></label>
<br />
<input type="submit" value="Go!" />
</form>
</body>
</html>
Posted by on 08/18 at 10:54 AM
Next entry: Figure 10-03 Text boxes
Previous entry: Example 10-02 Modifying our simple search to process the results