for example I will write
$data = [ok,ok,ok,ok,ok]
I would like to echo "ok"
but if
$data = [ok,ok,ok,not,ok]
I would like to echo "not ok"
I need help.
My Answer:
ok
$data = ['ok','ok','ok','ok','not ok']
I would like to echo
not ok
for example I will write
$data = [ok,ok,ok,ok,ok]
I would like to echo "ok"
but if
$data = [ok,ok,ok,not,ok]
I would like to echo "not ok"
I need help.
Rate this post
3 of 5 based on 5168 votesComments