Jump to content

[SOLVED] stripslashes()


kev wood

Recommended Posts

i need to get rid of the backslashes caused by php escaping magic quotes.  i am using a text area to store some text which is called $message_body1 which is echoed out on different pages.

 

i tried to use this but it did not like the code i had used.

 

$message_body1=stripslashes ( echo ($message_body1)

 

the error i got was

 

Parse error: parse error, unexpected T_ECHO, expecting ')' 

 

how should this code be lais out to give it the intended result.

Link to comment
https://forums.phpfreaks.com/topic/116371-solved-stripslashes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.