Hello guys. In of of my pages i have a select list. For example the visitor has 
5 options (including the default :D ). So here they are: the default -> 
location; first option -> USA; second ->FR ; third -> IT; forth->SW
   
  Let's call this script script1.php
  In this script i want to check if there are no errors, i mean i want to see 
if the visitor choose a valid location (USA, FR, IT or SW ) and not the default 
one.
   
  Now if the user select didn't select a location (equivalent to selected the 
default value) the same script after is executed will will echo an error 
message. 
  If the user choose a valid location the the action will  be script2.php which 
will echo the message: "You live in $location."
   
  Now there is one more thing to ask. If the visitor goes back from script2.php 
to script1.php i want to apper in the location field the selected option and 
not the default one. How is this possible?
   
   

                
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to