Hey, I need to delete a part of a string (I'm not a :
$content = "user=predator1&scode=mau4&athleteid=17007";
$content = "user=predator1&athleteid=17007";
I need to delete the "$code=XXXXX" part (the XXXXX part is variable)
I've tried using this:
$content = preg_replace("/&scode=[^a-z]*/", "", $content);
but doesn't work...
How can I solve this problem?
Thank you!!!