[mysql] Using explode and in_array
본문
$str_array = explode(",", "one, two, three, four, five");
$find = 'one';
if(in_array($find,$str_array)){
echo "TRUE";
}
else
{
echo "FALSE";
}
관련링크
댓글목록 0
등록된 댓글이 없습니다.
$str_array = explode(",", "one, two, three, four, five");
$find = 'one';
if(in_array($find,$str_array)){
echo "TRUE";
}
else
{
echo "FALSE";
}
등록된 댓글이 없습니다.
株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d