I removed the semicolon from the end of the query string, and I still get the
same syntax error:
You have an error in your SQL syntax near ''.1' at line 10
This is what the query looks like:
INSERT INTO micromodels
(name, revision, dynamic, m_class, novars, equation, min_0, min_1,
min_2, min_3, min_4, min_5, min_6, min_7, min_8, max_0, max_1,
max_2, max_3, max_4, max_5, max_6, max_7, max_8, except_0,
except_1, except_2, except_3, except_4, except_5, except_6,
except_7, except_8, prompt_0, prompt_1, prompt_2, prompt_3, prompt_4,
prompt_5, prompt_6, prompt_7, prompt_8, allow_0, allow_1, allow_2,
allow_3, allow_4, allow_5, allow_6)
VALUES ('Eye Movement
Time',1,NULL,'per',0,'.1;',0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,1)
Paul DuBois wrote:
> At 8:37 -0600 4/29/02, Anna Fowles-Winkler wrote:
> >Gerald Clark wrote:
> >
> >> The semicolon does not belong there.
> >
> >Where? At the end of the query or in the string?
> >
> >--Anna
>
> At the end. Semicolons are perfectly legal in data values (which is
> why this whole episode seems odd), but you don't put them at the
> end of a statement. That's a convention used by the mysql client
> that you don't follow when using an API directly.
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php