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] 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] 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
Archived
This topic is now archived and is closed to further replies.