Well... this is annoying. I can't get this simple str_replace to remove a '&'.
I have extracted this link:
$sprint_user_photo_link = 'http://pictures.sprintpcs.com//mmps/RECIPIENT/001_xxxxb848d2ff0ca3_1/2.2?inviteToken=NEqrxxJ5m8awcUcLo7qL&limitsize= ';
and in my happy world the code below should work
$image_url = str_replace('&limitsize=', '', $sprint_user_photo_link);
I've tried different ways and most times it does nothing and if is use str_replace just only '&' it does replace it with '&'
confused in kansas
Just need to clip those last characters &limitsize=