I am getting this error: Parse error: syntax error, unexpected '=', expecting ')' in *edited* on line 14 From this part of the script: #14 foreach ($_POST as $key => $value) { #15 $value = urlencode(stripslashes($value)); #16 $req .= "&$key=$value"; #17 }