John Brookes - 2002-06-15

Hey,

Is there an equivalent to the PHP commands "addslashes" and "stripslashes" for storing and retreiving text stored in the database?

I was recently working on an eggdrop script to store information, but it messes up when there's characters ", ' and \ in the channel's name, or in any data I want to be stored to the database.

So, is there a pre-existing TCL equivalent to these commands, or has anybody written these commands already? or is there something built into tcl-sql that does this (but not documented)?

Thanks.