Jump to content

Need help with \ being loaded before a '


mazman13

Recommended Posts

I'm saving text to a TEXT file instead of a database, so if i use "" or '' to say something, PHP adds the \ before it.

I've tried the stripslashes($string) before it loads to the text file and when I call the info (not both at the same time)...but the \ is still there.

Any ideas?
Link to comment
https://forums.phpfreaks.com/topic/20475-need-help-with-being-loaded-before-a/
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.