|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Syntax error in INSERT INTO statement.
I recieve the error:
Microsoft JET Database Engine error '80040e14' Syntax error in INSERT INTO statement. /quizmaker/admin/create_teacher.asp, line 20 with the following code: Code:
DIM mySQL
mySQL = "INSERT INTO users(user, password) VALUES('"& uname &"', "& pword &")"
USERS1.open mySQL , objConn <----- Line 20.
Any help please? |
|
#2
|
|||
|
|||
|
You are missing the single quotes for your password variable.
Quote:
try: Code:
mySQL = "INSERT INTO users(user, password) VALUES('"& uname &"', '"& pword &"');"
good luck! hope that helps. Pete |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Syntax error in INSERT INTO statement. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|