| | |
parser error saying '='..plz help me...
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
hi to all,
please do suggest me y this error?
0063 $result = mysql_query($sql) or die(mysql_error());
0064
0065 $admine-mail = "admin@yoursite.com";
$adminpass = "admin";
$adminname = "Admin";
$sql = "INSERT IGNORE INTO cms_users VALUES (NULL, '$admine-mail', '$adminpass', '$adminname', 3)";
$result = mysql_query($sql) or die(mysql_error());
Error :
Parse error: syntax error, unexpected '=' in C:\apachefriends\xampp\htdocs\cms\cmstables.php on line 65
please do suggest me y this error?
0063 $result = mysql_query($sql) or die(mysql_error());
0064
0065 $admine-mail = "admin@yoursite.com";
$adminpass = "admin";
$adminname = "Admin";
$sql = "INSERT IGNORE INTO cms_users VALUES (NULL, '$admine-mail', '$adminpass', '$adminname', 3)";
$result = mysql_query($sql) or die(mysql_error());
Error :
Parse error: syntax error, unexpected '=' in C:\apachefriends\xampp\htdocs\cms\cmstables.php on line 65
Sorry ..but i have solved it....but i would not like to close the thread as I believe i could say a few things i realized ...finding the error ...y?
1. Use naming/coding standards that are standard.
2.For ,try not to use -+ with variables[courtesy : my brother,Umesh]
his suggestion of avoiding using e-mail with e_mail did the trick for me.
Thanks brother.
3.Anybody new to coding can feel to contact me,for i would be glad to share
the naming / coding sstandards to document.
Hari
1. Use naming/coding standards that are standard.
2.For ,try not to use -+ with variables[courtesy : my brother,Umesh]
his suggestion of avoiding using e-mail with e_mail did the trick for me.
Thanks brother.
3.Anybody new to coding can feel to contact me,for i would be glad to share
the naming / coding sstandards to document.
Hari
![]() |
Similar Threads
- Computer keeps crashing- error code help plz (Windows NT / 2000 / XP)
- Server Error in '/' Application (ASP.NET)
- Server Error in '/CM_site' Application. (ASP.NET)
- Binding Error with QBasic plz Help (Legacy and Other Languages)
- Php parser error when xml version is mentioned (PHP)
Other Threads in the PHP Forum
- Previous Thread: I need someone to install a php forum
- Next Thread: Whats wrong with this code
| Thread Tools | Search this Thread |
ajax apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error errors execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google href htaccess html image include insert integration ip java javasciptvalidation javascript joomla keywords limit link login mail matching menu mlm multiple mysql oop paypal pdf php phpincludeissue problem query radio random recursion recursive regex remote script search server sessions shot sms soap source space sql subscription syntax system table tag tutorial tutorials update upload url validator variable vbulletin video web xml youtube





