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.
You already have a form tag opened under the body tag. Remove it. Problem solved.
You have two form
elements on the page. This will work: http://codepad.org/3laSb9c2
You have a hanging form tag & also the action on the form should just be /cgi-bin/assignment4/php4_1input.php
精彩评论