Can anyone help me out with a Parse error?
Everytime I use the script it gives me this error:
Parse error: parse error, unexpected ')', expecting ',' or ';' in /home/m0hawk/public_html/hmk/mapsubmitted.php on line 3
Im basically trying to make a form so people can submit request maps for my Counter Strike server.
Here is the code for maps.php:
[code]<?
if(isset($HTTP_POST_VARS[‘newMapName’]) && $HTTP_POST_VARS[‘newMapName’] != “”){
$map = $HTTP_POST_VARS[‘newMapName’]; //do something with the new map
echo $map;
/// bla bla bla
}
else{
echo “
”; echo “”; echo “
echo “”; echo “ | ”;
}
?>[/code]
And the code for the mapsubmit.php:
<?
if( isset( $HTTP_POST_VARS['map']) ){
echo $HTTP_POST_VARS['map'])."<BR>";
?>
Is there anything wrong with the script to give me the said error?