Image

Hey everyone!

I'm new here, and interestingly enough new to php as well. :)

I have a very "beginners" style question that I hope you will be able to answer.

*NOTE:* All of this is occuring in one browser...a second browser is never opened up *END NOTE*

I've created a basic html form with two drop down menus and each has their own submit button. In the first drop down menu you choose from a list of Countries. When you click submit a string below the menu appears saying "You are visiting: <whatever country you chose". Also, upon clicking the submit button, a list of cities in your selected country appears in the second drop down menu. When you choose a city and click on its submit button a string below that says "The city you are visiting is: <whatever city you selected". Now this is my problem. I can't get the country that the user selects to stay in the drop down menu when the user clicks submit. Nor can I get the string ""You are visiting: <whatever country you chose" to remain on the page with the selected country when the user clicks submit. Each time submit is chosen it swipes all the info I have posted in the browser. How can I get my information to stay? Do I HAVE to create a php session? Cheers! RM