| | |
Parse error: syntax error, unexpected T_STRING in c:/..........
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Solved Threads: 0
Hi all, i just dont understand why i get this error :
Parse error: syntax error, unexpected T_STRING in C:\Program Files\wamp\www\working3\admincp\pages\mainconfig.php on line 11
I have google it alot and i just find that its probably becouse ur missing a ;, But i cant find the place. I have tested almost everything but it just give me other errors, So im asking someone thats good at this to help me. Thanks alot for reading// Erik
Parse error: syntax error, unexpected T_STRING in C:\Program Files\wamp\www\working3\admincp\pages\mainconfig.php on line 11
I have google it alot and i just find that its probably becouse ur missing a ;, But i cant find the place. I have tested almost everything but it just give me other errors, So im asking someone thats good at this to help me. Thanks alot for reading// Erik
PHP Syntax (Toggle Plain Text)
<? if (ALLOW_OPEN != 1){ exit("You can't open this site directly"); } if ($_GET['change'] == "yes"){ mssql_query("UPDATE site_config SET sitename = '".$_POST['sitename']."',enable_gmblock = '".$_POST['gmblock']."',enable_store = '".$_POST['storage']."',allow_register = '".$_POST['register']."'"); echo '<script language="JavaScript">window.location="?site=mainconfig";</script>'; } if ($_GET['changestat'] == "yes"){ mssql_query("UPDATE site_config SET enable_serverstatus = '".$_POST['serverstatus']."',exprate = '".$_POST['exprate']."',droprate = '".$_POST['droprate']."',questrate = '".$_POST['questrate']."',eggexprate = '".$_POST['eggexprate']."); echo '<script language="JavaScript">window.location="?site=mainconfig";</script>'; }
![]() |
Other Threads in the PHP Forum
- Previous Thread: Computer distinctive number
- Next Thread: Form syntax -driving me nuts
| Thread Tools | Search this Thread |
5.2.10 action apache api array beginner beneath binary broken cakephp checkbox class classes cms code cron curl database date destroy display dynamic echo echo$_get[x]changingitintovariable... email encode error fcc file files folder form forms function functions google header howtowriteathesis href htaccess html image images include insert ip javascript joomla limit link local login mail memberships menu mlm mod_rewrite multiple multipletables mysql mysqlquery neutrality oop open passwords paypal pdf php provider query radio random record remote rss script search server sessions sockets source space sql strip_tags syntax system table template thesishelp tutorial update upload url validator variable video voteup web window.onbeforeunload=closeme; youtube





