Chuck,
Setup your form like this (assuming search.php is the name of your page):
.
Then in your search.php page, use this structure:
# --- set $step to passed value, or else set to default ---
if (isset($_GET["step"])) { $step=$_GET["step"]; }
elseif (isset($_POST["step"])) { $st
[snip]
So I if I create the form, is there way that I can have it echo on the same
page if I am using a form?
[/snip]
Yes, using $PHP_SELF as your form action
HTH
Jay
"Ever stop to think, and forget to start again?"
*
* Texas PHP Developers
Ok for a simple search I should be able to create a form page and Enter the
value and select the feild that Ron want to search.
Example
$sql = "SELECT * FROM \"$table\" WHERE \$field\" LIKE \"'%$value%'\" ORDER
BY \"$input"\";
$table = Of course the table they want to search
$field = Field that
3 matches
Mail list logo