Php and form help

Hello to everyone out there! I’ve got a question that I just can’t seem to find the answer for. Here is what I am needing:

I’ve created a basic HTML form. On this form I have created a TEXTAREA named “code”. What I am wanting, is for a user to be able to input all kinds of HTML code into the textarea and then, when they click the SUBMIT button, I want the HTML code they entered (fully intact) to be assigned a variable (with none of the backslahes, quotes, ampersands, etc changed from their input) and then to be printed onto the screen by just printing (or echoing) the variable that the code was assigned to.

Is there a way to accomplish this? I’m still fairly new and ignorant when it comes to the more advanced things of PHP.

Thanks:
Dan