Jump to content

Stripslashes not working


aeroswat

Recommended Posts

I am having a problem with mail() and stripslashes()

 

I am trying to email the $message and this is what $message contains

 

stripslashes($studentName);

 

$studentName = Johnny O\'neal

 

If I mail it without stripslashes It displays:

Johnny O\'neal

 

if I mail it with stripslashes it displays the same thing...

Link to comment
https://forums.phpfreaks.com/topic/207059-stripslashes-not-working/
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.