Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Front Page News v.150 for Snitz 3.3.05 / 3.4.01
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 6

jimeinstein
Starting Member

China
1 Posts

Posted - 13 May 2003 :  00:43:57  Show Profile
The function below, SQLparse, smashed my database twice :(
Is there any char with ASCII>127 ? I'm using Chinese OS which can not display that.

function SQLparse(s)
'*********************************************
'* This just does a charater replacement on my
'* insert and update sections
'* so I don't blow up the database.
'* Wes Brown
'*********************************************
dim tmp

tmp = s

tmp = replace(tmp, "?, "'")
tmp = replace(tmp, "`", "'")
tmp = replace(tmp, "'", "''")

SQLparse = tmp
'SQLparse end
end function

Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07