As the topic says, I have a slight problem with slashes. I have inserted a piece of text, typed in Word, into a table in MySQL. I want the text to appear in a .php-file. This all works quite well. The HTML-tags, I included in the site do their job, except for the links.
When I have a piece of code like the one below, I seem to get no effect from the stripslashes function:
There is nothing wrong with the PHP coding, the text just appears normally. I declared the variable in the following way:Code:<a href=\"contact.php\">Contact</a>
Can someone tell me what terrible mistake I am making?PHP Code:
$about = $result[text];
$about = stripslashes($about);




...
.
....
!


Bookmarks