Changeset 13028


Ignore:
Timestamp:
2007/05/17 22:01:03 (15 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

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

    r13027 r13028  
    2020// ͹ÊØÈֹ渡º÷ʸºîÀ® 
    2121$zipcode = $_GET['zip01'].$_GET['zip02']; 
    22 //$zipcode = mb_convert_kana($zipcode ,"n"); 
     22$zipcode = mb_convert_kana($zipcode ,"n"); 
    2323$sqlse = "SELECT state, city, town FROM mtb_zip WHERE zipcode = ?"; 
    2424 
     
    2727// ¥¤¥ó¥Ç¥Ã¥¯¥¹¤ÈÃͤòȿž¤µ¤»¤ë¡£ 
    2828$arrREV_PREF = array_flip($arrPref); 
    29 $trace =print_r($data_list); 
    3029$state = $arrREV_PREF[$data_list[0]['state']]; 
    3130$city = $data_list[0]['city']; 
     
    4140 
    4241// ͹ÊØÈֹ椬ȯ¸«¤µ¤ì¤¿¾ì¹ç 
    43 if(count($data_list) > 0) { 
     42if(count($data_list[0]) > 0) { 
    4443    echo "{ 'POST' : 'test' , 'GET' : 'test' }"; 
    4544} else { 
Note: See TracChangeset for help on using the changeset viewer.