Karlos94 Posted September 26, 2010 Share Posted September 26, 2010 Right, I am trying to create a small application here, for example picture this.. I start off with a table like this (just to let you know this table is bare minimum): City Current Weather London Get New York Get Right, when I click get I'd like to have an extra <tr> tag appear and slide down so I can fit in the response from Yahoo! Weather RSS feed. However, I don't want to explicity define the ZIP code within a hidden input field as that will decrease security, I wish to have the information within a array or comming from a database. For example, I'll do it an array to show how I mean: $city = array( array( 'name' => 'Beijing', 'zip_code' => 'CHXX0008' ), array( 'name' => 'Moscow', 'zip_code' => 'RSXX0063' ), array( 'name' => 'Paris', 'zip_code' => 'FRXX0076' ), array( 'name' => 'Tokyo', 'zip_code' => 'JAXX0085' ) ); Any help here? Much appreciated if so! Regards, Karlos94 Link to comment https://forums.phpfreaks.com/topic/214417-yahoo-weather/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.