[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";
}
관련링크
댓글목록
등록된 댓글이 없습니다.

$str_array = explode(",", "one, two, three, four, five");
$find = 'one';
if(in_array($find,$str_array)){
echo "TRUE";
}
else
{
echo "FALSE";
}
등록된 댓글이 없습니다.
株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d