como eu arrumo esse erro na hora de cadastrar e tb nem consigo logar
Notice: Undefined variable: MainSQLDBName in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\Account.class.php on line 384
Warning: mssql_query() []: message: Incorrect syntax near 'junimhs2'. (severity 15) in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\MuDatabase.class.php on line 386
Warning: mssql_query() []: Query failed in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\MuDatabase.class.php on line 386
Error: No database connection exists or invalid query:
INSERT INTO MEMB_INFO (memb___id, memb__pwd, memb_name, sno__numb, mail_addr, fpas_ques, fpas_answ, appl_days, AccountLevel, modi_days, mail_chek, bloc_code,ctl1_code) VALUES ('junimhs2', '[].[dbo].[DT_GenHash]('junimhs2','junior')','junior', '0000001234567', 'junimhs1000@gmail.com', 'oque', 'nada', getdate(), '0', '2016-11-22 00:35:30', '0', '0','1')
Database Error: Incorrect syntax near 'junimhs2'.
Session halted.
Notice: Undefined variable: MainSQLDBName in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\Account.class.php on line 384
Warning: mssql_query() []: message: Incorrect syntax near 'junimhs2'. (severity 15) in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\MuDatabase.class.php on line 386
Warning: mssql_query() []: Query failed in C:\Inetpub\vhosts\musmart.com.br\httpdocs\web\system\MuDatabase.class.php on line 386
Error: No database connection exists or invalid query:
INSERT INTO MEMB_INFO (memb___id, memb__pwd, memb_name, sno__numb, mail_addr, fpas_ques, fpas_answ, appl_days, AccountLevel, modi_days, mail_chek, bloc_code,ctl1_code) VALUES ('junimhs2', '[].[dbo].[DT_GenHash]('junimhs2','junior')','junior', '0000001234567', 'junimhs1000@gmail.com', 'oque', 'nada', getdate(), '0', '2016-11-22 00:35:30', '0', '0','1')
Database Error: Incorrect syntax near 'junimhs2'.
Session halted.