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

Legend:

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

    r13014 r13018  
    4848    $zipcode = mb_convert_kana($zipcode ,"n"); 
    4949    $sqlse = "SELECT state, city, town FROM mtb_zip WHERE zipcode = ?"; 
    50     $data_list = $conn->getAll($sqlse, array($zipcode)); 
    51 echo "{'MSG' : '½»½ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£' , 'ZIP' : '$zipcode','DATA_LIST':'$data_list[0]'}" ; 
     50    $data_list = $conn->getAll($sqlse, array($zipcode,$test)); 
     51     
     52echo "{'MSG' : '½»½ê¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£' , 'ZIP' : '$zipcode','DATA_LIST':'$data_list'}" ; 
    5253    } 
    5354} 
Note: See TracChangeset for help on using the changeset viewer.