Hi, my PHP scripts have been working fine until yesterday, now there are extra backslashes with the data extracted from the MySQL db.
These slashes are not in the database and only occur in front of the ' character.
Example:
http://www.frenchfilmsondvd.com/ShowReg ... 1048762418
db query output
| L'Ennui | L'Ennui | 1048762418 | 247171554 | Charles Berling, Sophie Guillemin, Arielle Dombasle | The French R2 release has the most extras, if English subtitles are needed then the R2 UK release is best | 1998 | | NULL | NULL |
I have contacted my web host but they have not got back to me yet, can anyone help please.
Thanks in advance
Extra slashes with output from DB - (Solved)
Moderator: General Moderators
-
Portishead
- Forum Newbie
- Posts: 3
- Joined: Sun Nov 24, 2002 8:08 am
- Location: Carlisle, UK
Extra slashes with output from DB - (Solved)
Last edited by Portishead on Mon Nov 25, 2002 2:39 am, edited 1 time in total.
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
have a look at the stripslashes() function: http://www.php.net/manual/en/function.stripslashes.php
-
Portishead
- Forum Newbie
- Posts: 3
- Joined: Sun Nov 24, 2002 8:08 am
- Location: Carlisle, UK
-
Portishead
- Forum Newbie
- Posts: 3
- Joined: Sun Nov 24, 2002 8:08 am
- Location: Carlisle, UK