close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Mysql version 5.0

Thread begun 12/15/2011 10:38 am by jlgouget312350 | Last modified 1/03/2012 7:10 am by Jason Byrnes | 4542 views | 13 replies |

jlgouget312350

Mysql version 5.0

Hello,
When I want to edit a page generated by data assist I obtain the following message :

"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 'Key, Identifiant, Password FROM adherents LIMIT 0, 20' at line 1"

What does it means ? Where is the error ?
The Mysql version used is the 5.0 (on 1 and 1 servers)

Thank you for your answer.

J.L. Gouget

Sign in to reply to this post

Jason ByrnesWebAssist

key is a reserved word in mysql and should be avoided as a column name:
reserved-words.html

Sign in to reply to this post

jlgouget312350

Mysql version 5.0

Thank you for this 1st answer ; the 1st problem is resolved, but now when I want to insert a mail adress like admin@laprovence.cc, I obtain the folowing message :
"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 '@laprovence.ccundefined,undefinedadminundefined)' at line 1"
Is the type of my basis which is a bad one : text

Thank you for your answer

Best regards.

Jean-Louis Gouget

Sign in to reply to this post

Jason ByrnesWebAssist

try using the varchar data type instead of text.

Sign in to reply to this post

jlgouget312350

Mysql version 5.0

It's what I have done without success. In attached file : the new structure. The link to try : adherents_Results.php

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page in a zip archive please.

Sign in to reply to this post

jlgouget312350

Mysql version 5.0

Here are the files : one for the copy of the page, the other for the structure of the table

Sign in to reply to this post

Jason ByrnesWebAssist

open the server behaviors panel (Window -> Server Behaviors) and double click the insert record behavior.

make the data type selected for each of the columns in the insert record behavior is set to text.

Sign in to reply to this post

jlgouget312350

Mysql version 5.0

The choice is only : text, integer, double, date, checkbox o,n, checkbox 0,1, checkbox 0,-1. What could I choose ? (see file in attachment)

Sign in to reply to this post

Jason ByrnesWebAssist

choose text

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...