panth Posted July 19, 2003 Share Posted July 19, 2003 Let\'s say I want to add a IRC channel into a database the irc chan is #we\'re-lost what do i need to do to have the \' not f****** my database (INSERT INTO somewhere VALUES (irc) \'We\'re-lost\') What do I need to make it work? Link to comment https://forums.phpfreaks.com/topic/740-problem-with/ Share on other sites More sharing options...
BinaryStar Posted July 19, 2003 Share Posted July 19, 2003 use addslashes() and please refrain from cursing....I have editted your post to take out the foul language... http://www.phpfreaks.com/phpmanual/page/fu...addslashes.html BS Link to comment https://forums.phpfreaks.com/topic/740-problem-with/#findComment-2469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.