![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an insert statement that is embedded in a PHP code. It basically inserts a JS string. We have lots of single quotes inside the string which we replace by double single quotes. It works fine, but strangely now, the dev team wants to enclose the whole string in double quotes. Is there a way of enclosing the entire string in double quotes? I know Oracle doesn't permit using the same. This is a part of the string - )+6;pVM=pVF.substring(y,pVF.indexOf(".",y));}} else if (window.ActiveXObject && window.execScript){ window.execScript('on error resume next\npVM=2\ndo\npVM=pVM+1\ |
#3
| |||
| |||
|
|
Hi All, I have an insert statement that is embedded in a PHP code. It basically inserts a JS string. We have lots of single quotes inside the string which we replace by double single quotes. It works fine, but strangely now, the dev team wants to enclose the whole string in double quotes. Is there a way of enclosing the entire string in double quotes? I know Oracle doesn't permit using the same. This is a part of the string - )+6;pVM=pVF.substring(y,pVF.indexOf(".",y));}} else if (window.ActiveXObject && window.execScript){ window.execScript('on error resume next\npVM=2\ndo\npVM=pVM+1\ Thanks in advance Guru use bind variables and then you won't care how the string is quoted. |
![]() |
| Thread Tools | |
| Display Modes | |
| |