Imagine I have this line:
$info="portugal,alemanha,belgica,porto 1-0 alemanha, belgica 2-0";
I want to know the position of the second char "-", so I need a 2-0 result, not a 1-0 result.
I use this function, but always returns the first position,
$pos = strpos($info, '-');
Any idea? Thanks
unpix source share