The manual says:
string strstr (string haystack, string needle)
Returns all of haystack from the first occurrence of needle to the end.
however when I tryed to use it in the following code:
// $keys[$i] = catagory_edit_5
if($item=strstr($keys[$i], 'catagory_edit_')){
echo "$item";
}
$item should echo as the number 5 from what I understand, but it is echoing "catagory_edit_5" ...
Does anyone konw what i'm doing wrong?
Thanks
Laeelin