Changeset 13086


Ignore:
Timestamp:
2007/05/18 15:20:33 (17 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/input_zip_json.php

    r13038 r13086  
    2727// ¥¤¥ó¥Ç¥Ã¥¯¥¹¤ÈÃͤòȿž¤µ¤»¤ë¡£ 
    2828$arrREV_PREF = array_flip($arrPref); 
    29 $state = $arrREV_PREF[$data_list[0]['state']]; 
     29$pref = $arrREV_PREF[$data_list[0]['state']]; 
    3030$city = $data_list[0]['city']; 
    3131$town =  $data_list[0]['town']; 
     
    4141// ͹ÊØÈֹ椬ȯ¸«¤µ¤ì¤¿¾ì¹ç 
    4242if(count($data_list[0]) > 0) { 
    43     echo "{'state':'$state','city':'$city','town':'$town'}" ; 
     43    echo "{'pref':'$pref','city':'$city','town':'$town'}" ; 
    4444} else { 
    4545    echo "{'MSG' : '½»½ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£' , 'ZIP' : '$zipcode'}" ; 
Note: See TracChangeset for help on using the changeset viewer.