View Single Post
Old 01-14-2008, 10:57 PM   #6 (permalink)
RobertK
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

I was also talking about delegating escaping the data to the classes themselves. That way no matter which version you've got, just call the escape function to have the database specific escape function(s) applied.

Good work on your part to write an mssql escape function. It's bad form for them not to have one.
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote