Jump to content


Photo

how to addslashes and post together thanks


  • Please log in to reply
1 reply to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 15 April 2006 - 03:35 PM

how to addslashes and post together

please help thank you.
$name=($_post(addslashes($name)));

[!--quoteo(post=365091:date=Apr 15 2006, 03:30 PM:name=redarrow)--][div class=\'quotetop\']QUOTE(redarrow @ Apr 15 2006, 03:30 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
how to addslashes and post together

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

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

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 15 April 2006 - 03:46 PM

You use this:
$comment = addslashes($_POST['comment']);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users