Let's say we have this array:
Array ( [0] => 10 [1] => 45 [2] => 23 )
How can I determine the position of element '45' in this array?
I'm using PHP.
Thank you.
Let's say we have this array:
Array ( [0] => 10 [1] => 45 [2] => 23 )
How can I determine the position of element '45' in this array?
I'm using PHP.
Thank you.
Google to the rescue: array_search