note 12985 deleted from function.str-replace by philip

From: Date: Mon, 04 Feb 2002 12:47:24 +0000
Subject: note 12985 deleted from function.str-replace by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26215@lists.php.net to get a copy of this message
To get rid of those nasty sinqle quotes out of memo and text fields before sending the data to your database. Use: $Notes = str_replace ("'", "'", $Notes);

« previous php.notes (#26215) next »