I would advise making your "search.php" a function. This offers a lot
of other flexibility.
On your searchform.php page just have an if() function to determine if
any search parameters were passed. If there are parameters, perform the
search. If there are results, display them, otherwise displa
n.
> -Original Message-
> From: Aaron Wolski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 2:00 PM
> To: 'Hutchins, Richard'; 'PHP-DB'
> Subject: RE: [PHP-DB] Returning Results
>
>
> Hi Richard,
>
> When you submit the form,
Hi Richard,
When you submit the form, why not have a hidden field in the form like:
Then use that 'backtopage' variable in your script where you direct the
results to.
Or.. if you don't want to use a hidden field.. parse the URL to get the
referrer?
HTH
Aaron
> -Original Message-
>