Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Question

Status
Not open for further replies.

Tigerjoe

IS-IT--Management
Nov 12, 2001
46
0
0
SA
Iam trying to learn PHP from an old book so I dont know if Iam doing this right or not. Its running on win2k IIS.

First file saved as checkbox.html

<html>
<head></head>
<body>
<form method = post action = &quot;checkbox.php&quot;>
Have you ever eaten haagis before?
<INPUT NAME=&quot;Choice&quot; TYPE=&quot;Checkbox&quot; VALUE=&quot;Haggis&quot;>
<input type = submit>
</form>
</body>
</html>



second file saved as checkbox.php

<html>
<head></head>
<body>
<?php
echo $Choice = $_post['Choice'];
?>
</body>
</html>

when i click the submit button on the first page, nothing comes up on the php page. Just blank

Thanks for any help.






T J

To PING or not to PING?
 
Never mind, answered my own question. Forgot it was case sensative. :)





T J

To PING or not to PING?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top