Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1260 | Replies: 3
![]() |
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
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode