hi all,
i have a problem with the array search in php.I have an array like ("apple","orange","mango") and i have a variable as $var="apple 1".
Now i want to search this $var is exist in the above array and if so want to retreive that element from the array?
that is if $var="apple 1"; i want to check whether any element like 'apple 1' is exist in the array or not. and i want to echo the 'apple' from the array
can u plz help me...
thanx in advance...