Okay, I have two pages:
form.html
and
output.php
form.html looks like this:
<head>
<title> Rants Writer, by N3RRd. </title>
<meta name="content" content="Rant Writer, by N3RRd.">
</head>
<body style="font-family: courier new;">
<form action="output.php" method="post">
<table>
<tr><td colspan="2"><b>User:</b></td></tr>
<tr><td width="20"></td><td><select name="user" size="1">
<option>N3RRd</option>
<option>paperclip</option>
</select></td></tr>
<tr><td colspan="2"><b>Title:</b></td></tr>
<tr><td width="20"></td><td><input type="text" size="75" name="title" ></td></tr>
<tr><td colspan="2"><b>Content (for meta tags, needed):</b></td></tr>
<tr><td width="20"></td><td><input type="text" size="75" name="meta"></td></tr>
<tr><td colspan="2"><b>Rant/Complaint etc.</b></td></tr>
<tr><td width="20"></td><td><textarea rows="15" cols="59" name="complaint"></textarea></td></tr>
<tr><td width="20" align="right"></td><td><input type="submit" name="submit" value="Proceed..."></td></tr>
</table>
</form>
</body>
and output.php looks like this...
<head>
<title> Proceed? Rant Writer, by N3RRd. </title>
</head>
<body>
<p><?php echo $POST['title']; ?></p>
<p><?php echo $POST['meta']; ?></p>
<p><?php echo $_POST['complaint']; ?></p>
</body>
But when I try to submit from "form.html" to "output.php" I get these errors:
Notice: Undefined index: title in C:\Documents and Settings\Brian\Desktop\site\other\~phpi_htbwq.php on line 8
Notice: Undefined index: meta in C:\Documents and Settings\Brian\Desktop\site\other\~phpi_htbwq.php on line 9
Notice: Undefined index: complaint in C:\Documents and Settings\Brian\Desktop\site\other\~phpi_htbwq.php on line 10
Can anyone tell me why!? 🙁 Thank you.