single quotes

B

black

Guest
i'm kind of new 2 mysql, & this program has saved me a lot of time. my problem is that when i edit records with single quotes, i get the

Error during query execution.

is there a way of changing this in the actual code so that i dont have to add slashes within the text field. i am aware of the addslashes() function. but is there a place in the code where i can use this function to remedy my problem. & if so where?

thanx
 
E

Eugenio

Guest
black wrote:
>
> i'm kind of new 2 mysql, & this program has saved me a lot of
> time. my problem is that when i edit records with single
> quotes, i get the
>
> Error during query execution.
>
> is there a way of changing this in the actual code so that i
> dont have to add slashes within the text field. i am aware
> of the addslashes() function. but is there a place in the
> code where i can use this function to remedy my problem. & if
> so where?

Sounds strange, DaDaBIK supports edit with single quotes, can you give more details?


(Latest version of DaDaBIK when this message was posted: 2.0 beta)
 
E

Eugenio

Guest
black wrote:
>
> i'm kind of new 2 mysql, & this program has saved me a lot of
> time. my problem is that when i edit records with single
> quotes, i get the
>
> Error during query execution.
>
> is there a way of changing this in the actual code so that i
> dont have to add slashes within the text field. i am aware
> of the addslashes() function. but is there a place in the
> code where i can use this function to remedy my problem. & if
> so where?

DaDaBIK suppoese that you have
magic_quotes_gpc = On
in php.ini

Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
Top