dadamssg Posted April 12, 2009 Share Posted April 12, 2009 im storing text in my db including quotations and what not...what function do i use to output it as it is written?..cause if i input quotes it outputs a slash in front to the quotes. ex.. "ablah blah blah" outputs...\"ablah blah blah\" Link to comment https://forums.phpfreaks.com/topic/153711-how-to-output-as-normal-text/ Share on other sites More sharing options...
MasterACE14 Posted April 12, 2009 Share Posted April 12, 2009 use stripslashes(); Link to comment https://forums.phpfreaks.com/topic/153711-how-to-output-as-normal-text/#findComment-807767 Share on other sites More sharing options...
jackpf Posted April 12, 2009 Share Posted April 12, 2009 Quotes shouldn't be added to your stuff though. Are you using addslashes() twice? Or is magic quotes turned on and you're using addslashes()? Link to comment https://forums.phpfreaks.com/topic/153711-how-to-output-as-normal-text/#findComment-807820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.