Jump to content

Help with form/variable!


dandandan

Recommended Posts

my code: (im leaving out things that dont matter, like the body and head tage, to save space)

<form name="form" enctype="multipart/form-data" method="post" action="test.php">
  <p>Your name:
    <input type="text" name="name">
    <input type="submit" name="Submit" value="Submit">
</form>


and the code for test.php (the form action=test.php). im not including the html, only the php.

<?php
print("$name");
?>



now, for some reason, test.php will NOT print $name. I get no error message. just a blank page. here is is uploaded. http://wolfstudios-online.com/email


PLEASE HELP!
Link to comment
https://forums.phpfreaks.com/topic/20364-help-with-formvariable/
Share on other sites

Archived

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

×
×
  • Create New...

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.