addslashes($variable)?

From: Date: Sun, 01 Sep 2002 12:23:15 +0000
Subject: addslashes($variable)?
Groups: php.general 
Request: Send a blank email to php-general+get-114850@lists.php.net to get a copy of this message
Hi. I have recently started prograemming some php. Now I wonder exactly what addslashes() is good for... I´ve read about it that it insert slashes where needed to get data in right form to Mysql? and then use stripeslashes() to remove slashes when reciving data out of database? And I´ve also got this article that its good for not getting a harmful query along with my own query $sql="SELECT * FROM adresses;DELETE * FROM adress" ??? plz explain to me! reg: Niclas

« previous php.general (#114850) next »