Reputation: 815
We just started PHP in my webscripting class today, and I'm already having problems with my first PHP assignment. Its more of me not understanding what is going on or overlooking something I don't fully know yet.
The code here: http://codepad.org/KnHda3iS is supposed to go to php4_1input.php but upon submitting it goes to back to itself (this page is called php4_1storyselphp). I'm not exactly sure why it does this but I presume I overlooked something really silly or just haven't learned why this is happening yet.
Any help would be much appreciated.
Upvotes: 1
Views: 187
Reputation: 416
You have a hanging form tag & also the action on the form should just be /cgi-bin/assignment4/php4_1input.php
Upvotes: 0
Reputation: 163318
You have two form
elements on the page. This will work: http://codepad.org/3laSb9c2
Upvotes: 1
Reputation: 9549
You already have a form tag opened under the body tag. Remove it. Problem solved.
Upvotes: 1