Jump to content

Archived

This topic is now archived and is closed to further replies.

redarrow

how to addslashes and post together thanks

Recommended Posts

how to addslashes and post together

please 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 together

please help thank you.
[code]
$name=($_post(addslashes($name)));
[/code]
[/quote]

Is this correct please cheers.
[code]
$comment=addslashes($_post["comment"]);
[/code]

Share this post


Link to post
Share on other sites
You use this:
[code]$comment = addslashes($_POST['comment']);[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.