Re: [PHP-DB] Best way to remove slashes?

2005-02-02 Thread Brent Baisley
It looks like you might be running addslashes multiple times, which means you would need to run stripslashes multiple times. This usually happens when you run addslashes on the data before entering into the database, but also have magic quotes enabled (which does the same thing). Use get_magic_

[PHP-DB] Best way to remove slashes?

2005-02-01 Thread Chris Payne
Hi there everyone, What’s the best way to remove slashes to stop the following from being output from a string: City = HYPERLINK "file:///\\'Alliance\\"\\\'Alliance\\\' Say the string is called $city, I tried the following: Stripslashes($city); but it didn’t seem to work? C