N1";$xmldata .= $txprDscmNo;$xmldata .= "05Y";//setting the curl parameters.$ch = curl_init(); // curl 초기화curl_setopt($ch, CURLOPT_URL, $url); // curl 지정하기curl_setopt($ch, CURLOPT_POST, true ); // true시 post 전송curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 옵션이 0으로 지정되면 curl_exec의 결과값을 브라우저에 바로 보여줌. 이 값을 1로 하면 결과값을 return하게 되어 변수에 저장 가능curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); // c..
//header("Access-Control-Allow-Origin:*"); // cross domain //header("Content-Type: application/json; charset=utf-8"); // text/html include_once("db_connect.php"); $json_data = array(); $sql = "select * from company where tel'' order by name limit 10" ; $result = mysqli_query($conn, $sql); while($row= mysqli_fetch_array($result)){ array_push($json_data, array('id'=>$row['ID'],'name'=>$row['name '..