Igor Escobar wrote:
> Yeah yeah, i understood that, but, the point is... i sad previously, my
> function is not tied to any database.
> 
> Is a generic function, i dont know who be use this, so i don't know, what is
> your data base so, i can't use functions like mysql_real_scape_string etc...

Then the best you can do is replace mysql_real_scape_string() with
addslashes() or possibly addcslashes() and build your own list.


-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to