Question
double quote in a SQL update
Here is the code :
<CFQUERY name="upd_user" datasource="#eft_formation#">
update users_eft
set nom='#form.nom#',
pnom='#form.pnom#',
etc ....
If I put a text with double quote in my form field in previous page,
all text after the double quote is lost by the update query.
First time I see this.
I have a lot of other forms with an update query, with no problem, the double quote pass in the sql update.
When returning #form.nom# and display before update, the value is good (with the double quotes).
After sql update , text is lost after the double quote.
Thanks for any help, direction where to look for ?
<CFQUERY name="upd_user" datasource="#eft_formation#">
update users_eft
set nom='#form.nom#',
pnom='#form.pnom#',
etc ....
If I put a text with double quote in my form field in previous page,
all text after the double quote is lost by the update query.
First time I see this.
I have a lot of other forms with an update query, with no problem, the double quote pass in the sql update.
When returning #form.nom# and display before update, the value is good (with the double quotes).
After sql update , text is lost after the double quote.
Thanks for any help, direction where to look for ?
