Changeset 13086
- Timestamp:
- 2007/05/18 15:20:33 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/input_zip_json.php
r13038 r13086 27 27 // ¥¤¥ó¥Ç¥Ã¥¯¥¹¤ÈÃͤòȿž¤µ¤»¤ë¡£ 28 28 $arrREV_PREF = array_flip($arrPref); 29 $ state= $arrREV_PREF[$data_list[0]['state']];29 $pref = $arrREV_PREF[$data_list[0]['state']]; 30 30 $city = $data_list[0]['city']; 31 31 $town = $data_list[0]['town']; … … 41 41 // ͹ÊØÈֹ椬ȯ¸«¤µ¤ì¤¿¾ì¹ç 42 42 if(count($data_list[0]) > 0) { 43 echo "{' state':'$state','city':'$city','town':'$town'}" ;43 echo "{'pref':'$pref','city':'$city','town':'$town'}" ; 44 44 } else { 45 45 echo "{'MSG' : '½»½ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£' , 'ZIP' : '$zipcode'}" ;
Note: See TracChangeset
for help on using the changeset viewer.