addslashes/stripslashes

From: Date: Tue, 05 Nov 2002 15:25:55 +0000
Subject: addslashes/stripslashes
Groups: php.general 
Request: Send a blank email to php-general+get-122783@lists.php.net to get a copy of this message
Hey, I am trying to develop a search for my database. I used addslashes when entering the data, and then use addslashes with the search but nothing comes up: Select * from tblContacts, tblCountries WHERE (tblContacts.CountryCode=tblCountries.CountryID) AND (Organization LIKE '%o\'mallies%' ) I check in the database and o'mallies is indeed there as o\'mallies. And a search for just mallies works fine. What gives? Thanks Paul

« previous php.general (#122783) next »