Hello,

I have this string:
Code:
$String = "profile.php?userId=55";
I want to get the number 55, this code just not do it:

Code:
$getID = explode("=",$String,2);

echo $getID[2],"<br/>";
Please help
Thanks