backslash before quote
Posted: Thu Dec 27, 2012 8:37 am
Hello,
when I trie to write custom code with quotes in for exemple 'Before Browse' tab in a form, when I save it backslash is addes before quote.
Exemple:
become
after being saved.
My config
Php 5.2.17
magic_quotes_gpc on
Thanks
when I trie to write custom code with quotes in for exemple 'Before Browse' tab in a form, when I save it backslash is addes before quote.
Exemple:
Code: Select all
$s = "CREATE TABLE #browseTable# SELECT * FROM table WHERE customer_id =3";
nuRunQuery($s);
Code: Select all
$s = \"CREATE TABLE #browseTable# SELECT * FROM table WHERE customer_id =3\";
nuRunQuery($s);
My config
Php 5.2.17
magic_quotes_gpc on
Thanks