addslashes for db search?

From: Date: Tue, 11 Jun 2002 07:43:32 +0000
Subject: addslashes for db search?
Groups: php.db php.general 
Request: Send a blank email to php-general+get-101505@lists.php.net to get a copy of this message
Hi there, I have some db records starting with a ' E.g: 'Aimburu Now I am wondering how to retrieve this records. without a addslashes it returns an error. So I did add a slash, but then it does not find this record. I tryed this query: ...like '\'Aimburu %' ... Do I have to change this db entries, and if how? How should they look like and is there a good method to change all this thousands of records at once? Thanx in advance, Andy

« previous php.general (#101505) next »