[FX.php List] Returning a search with multiple entries
Bob Patin
bob at patin.com
Sun Aug 20 09:48:55 MDT 2006
Oops, I forgot a close parenthesis after "($ZIP)" it should read:
... and empty ($STATE) and empty($ZIP)) {
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: tech at longtermsolutions.com
ICQ: 159333060
On Aug 20, 2006, at 10:40 AM, Bob Patin wrote:
> Florence,
>
> In your processing page, run a check to make sure that one or more
> of the fields have been filled in; here's what I would use:
>
> if (empty($NAME) and empty($ADDRESS) and empty($CITY) and empty
> ($STATE) and empty($ZIP) {
> // SHOW ALERT WINDOW, BOUNCE THEM BACK TO PREVIOUS PAGE
> <script language="Javascript">
> alert ("Please fill in one or more search fields.")
> history.back()
> </script>
> }
>
> Hope this helps,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
> CONTACT US VIA INSTANT MESSAGING:
> AIM or iChat: longterm1954
> Yahoo: longterm_solutions
> MSN: tech at longtermsolutions.com
> ICQ: 159333060
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060820/c3b188ed/attachment.html
More information about the FX.php_List
mailing list