
09-06-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 35,021.25 Thanks: 0
Thanked 7 Times in 7 Posts
Rep Power: 406 | | Beginner Question Regarding PhP Well; I'm currently taking a PhP/MySQL programming class, and I'm curious if I've done an assignment correctly: "Create a php script that will process and print a form. The form will take as input a person's first and last name, and an e-mail address. The form (when the submit button is pressed) will then output the persons name and a message that will state that e-mail has been sent to them. You are not sending e-mail of course, this is just a practice for later projects." Now; this is what I created for this assignment: HTML Code: Code: --------- E-mail Submission Please type your first name:
Please type your last name:
Pleast type you E-mail Address:
--------- ^^ I used above as merely a simple HTML script obviously, the following is the PhP script: Code: --------- --------- The code works as I want it to, however, the assignment is for one PHP script, and from what I've read in the book, it only explains using two files to complete this type of project. The question is, can I create the same thing, with only one PHP code? To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |