onload weather with php variable for zipcode

Discuss the free weather on your site script which uses weather.com's free XML weather feed.

onload weather with php variable for zipcode

Postby flint » Tue Jun 02, 2009 9:05 pm

I have already collected user zip code information in a php variable. When the user clicks the weather page I want the weather and the 5 day forecasts to automatically display, no search, and no submit button. I tried the solution in viewtopic.php?t=954 but had no luck, I just get "loading...".

I can get the 5 day forecast by inserting 5 in the javascript in the body section for numdays. But can't get the php variable to pass.

Thanks for the help.
flint
 
Posts: 1
Joined: Tue Jun 02, 2009 9:01 pm

Return to Weather On Your Site

Who is online

Users browsing this forum: No registered users and 1 guest

cron