변수를 아래와 같이 정의하여,
$jun_con=explode("alert_msg",$wr_content);
배열에 적용할려고 합니다.
$post_data["md_content"] = $trow[jun_con];
무언가 잘못된것 같은지, 작동이 안돼네요.
고수님의 도움이 필요합니다. 즐거운 하루되세요
Copy
for ($i=0 ;$i<count($tmp_array); $i++) {
$wr_id=$tmp_array[$i];
$sql=" select * from g4_write_item_view where wr_id = ".$wr_id;
$trow = sql_fetch($sql);
// 추가 2019-02-27
$jun_con=explode("alert_msg",$wr_content);
//
$ch = curl_init();
$post_data["md_content"] = $trow[jun_con];
답변 2개
채택된 답변
+20 포인트
답변을 작성하려면 로그인이 필요합니다.