when I insert 't door in editable grid or editable grid view ,
than I reseive 't door in the table!!!
where is that \ coming from?
when I use single view, than there is no problem with inserting 't door
can someone help me plaese???
in my cage i can enter 't volk and save it. so no bug!
what charset are you using in your database and which one in your project?
he do that in all characters.
but when I open the field and take the \ away, and save it again , than its good.
I do really not know how that is possible
and in single view there is no problem
maybe something in php.ini settings from my synology php 7.2
[h=3]Description ?[/h] addslashes ( string $str ) : string
Returns a string with backslashes added before characters that need to be escaped. These characters are:
- single quote ([I]'[/I])
- double quote ([I]"[/I])
- backslash ([I]\[/I])
- NUL (the NUL byte)
solution:
in onafterupdate
$str = {field};
{field} = stripslashes($str);
Is a way to solve it but it’s strange SC is adding slashes in the first way
yes scriptcase must (addslashes) put that off, or give a possibelity for us to put it off…
I have scriptcase 9.3.009
and before I hat never that problem