How to check if an array value exists

Posted by Uffo on Stack Overflow See other posts from Stack Overflow or by Uffo
Published on 2010-03-13T23:33:40Z Indexed on 2010/03/13 23:35 UTC
Read the original article Hit count: 396

Filed under:
|
|

How can I check this:

$something = array('say' => 'bla', 'say' => 'omg');

How can I check if the $something['say'] has the value of 'bla' or 'omg'

Best Regards,

© Stack Overflow or respective owner

Related posts about php

Related posts about php5