formfields.com Forum Index formfields.com
FORMfields Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SQL syntax error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> FF 2.X - Bug Reports
View previous topic :: View next topic  
Author Message
themicah



Joined: 06 Oct 2006
Posts: 1
Location: Minnesota

PostPosted: Mon Oct 09, 2006 5:14 pm    Post subject: SQL syntax error Reply with quote

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '110,111,112,pre113,113,114,115,115a,116,117,118,119,120,121,121a:
INSERT INTO questionnaire_part2 (110,111,112,pre113,113,114,115,115a,116,117,118,119,120,121,121a,122,122a,pre123,123,124,124a,125,125a,125b,126,126a,126b,126c,126d,126e,126f,126g,126h,127,__inserted_on) VALUES (null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2006-10-09 00:09')

//This comes up when I try to sumbit on one of my forms.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
formfields



Joined: 01 Aug 2005
Posts: 465

PostPosted: Wed Oct 11, 2006 9:51 pm    Post subject: Reply with quote

This is occuring because you appeared to have generated a form using FORMgen that contains field names that start with a number. Field names like 110, 111, etc.. cause problems in MySQL. In a future release of FORMgen, we will disable this ability and force one to start all field names with a letter. For now, you should edit your form in FORMgen and change each field name so that it starts with a letter. For example, 110 could become field110 or 111 could become f111. After you have changed all the fields, you should reupload your form and new database scripts. You should also run the new database scripts so that your old table is replaced.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> FF 2.X - Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group