Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with my forum

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hey, I'm trying to create a forum for my website, when I submit the form, it always adds a \ before each '. so when someone types "i'm tired" it will come out "i\'m tired". Does anyone know why it's doing this?
 
say that the variable you are printing out in the next page is $msg, do this:

print(stripslashes($msg));

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top