Log in

View Full Version : Does VB has an escape / unescape function ?


mihai11
08-07-2007, 01:18 PM
Hi,

Data must be escaped before being inserted into the database. Does the VB framework provide a function for escaping / unescaping strings ?

I know that there is such a function in PHP, but I read somewhere (I don't remember where) that VB has a similar function which provides some additional functionality.

Regards,
Razvan

Adrian Schneider
08-07-2007, 02:46 PM
$db->escape_string()

May want to check the article in my sig for additional info.

mihai11
08-07-2007, 03:34 PM
$db->escape_string()

May want to check the article in my sig for additional info.

I saw your article minutes after writing this post ! VERY VERY good article. Exactly what I needed to know in order to make my mods safe !

You did a great job !