redarrow Posted April 15, 2006 Share Posted April 15, 2006 how to addslashes and post togetherplease help thank you.[code]$name=($_post(addslashes($name)));[/code][!--quoteo(post=365091:date=Apr 15 2006, 03:30 PM:name=redarrow)--][div class=\'quotetop\']QUOTE(redarrow @ Apr 15 2006, 03:30 PM) [snapback]365091[/snapback][/div][div class=\'quotemain\'][!--quotec--]how to addslashes and post togetherplease help thank you.[code]$name=($_post(addslashes($name)));[/code][/quote]Is this correct please cheers.[code]$comment=addslashes($_post["comment"]);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/7483-how-to-addslashes-and-post-together-thanks/ Share on other sites More sharing options...
wildteen88 Posted April 15, 2006 Share Posted April 15, 2006 You use this:[code]$comment = addslashes($_POST['comment']);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/7483-how-to-addslashes-and-post-together-thanks/#findComment-27265 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.