Okay, my forms are being really wierd. When I try to make a form, it is done correctly, but when I enter data in the actual .html and hit "submit" it brings me to the called .php page, but it doesn't show the text that was entered in the form. Here is the script:
HTML script:
<html>
<head>
<title>My Form</title>
</head>
<body>
<form action="bad_words.php" method=post>
My name is:
<br> <input type="text" name="YourName">
<p> My favorite dirty word is:
<br> <input type="text" name="FavoriteWord">
<p>
<input type="submit" name="submit" value="Enter My Data!">
</form>
</body>
</html>
PHP script:
<html>
<head>
<title>Perv!</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
Hi <?php print $YourName; ?>
<p>
You like the word <b> <?php print $FavoriteWord; ?> !?! </b>
<p>You oughta be ashamed of yourself!
</body>
</html>
I got both of those right off PHP.net in a tutorial. Somebody please help me! I am involved in a game develpment but I can't do ANYTHING without this form problem solved. 😕