I dont know if i can explain this clearly, but I'll try. I have a website using phpclassifieds (if your familiar with it). I have a small weather source I put on there (from weather underground). I have it set in the code to use a variable called $city rather than the actual city name.
<a href="http://www.wunderground.com/US/IA/<? echo $city ?>.html">
<img src="http://banners.wunderground.com/banner/gizmotimetempbig_both/language/www/US/IA/<? echo $city ?>.gif"
alt="Click for <? echo $city ?>, Iowa Forecast" height=40 width=467 border="0"></a><br><br><br>
<table width="60%" border="0" cellspacing="0" cellpadding="0">
What I would like to do is have a window popup to where the user can select their city (as this is a locally used website) from a dropdown list and have it set as a cookie, and change the value if they select the wrong one or move. Then I would like the above script to recall the cookie variable. All attempts I have made haven't worked.
Another Idea would be to recall the city from their account information as they are required to select a city when they register. Any suggestions on how I would go about this?
Thanks in advance,
j0ker21m
http://crestononline.com