i’m retrieving strange result using strrpos
$link = "www.mysite.com/?_vc=1&_pgn=2";
$position = strrpos($link,"&_pgn=");
echo "<br/>".$position;
result is black page.
if i change pattern in strrpos like:
$position = strrpos($link,"&");
it give me value
21
What is the problem? can you help me?
After some casual googling over my morning coffee, it would seem you are still using PHP4.
Hence why your code appears to work for most people, yet not for you. I found this here.