
February 7th, 2001, 07:00 PM
|
|
Junior Member
|
|
Join Date: Feb 2001
Location: Alaska
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
HTML PHP Form
Is it possible to use php to generate a return HTML email form? I have used a separate script called (form.php) located in the same folder that contains the HTML index file that posts the form as follows: <form name="contribution" method="post" action="form.php">
The "form.php" script takes the information from the completed HTML form and returns the same information by using the "submit" button to the sender in a processed HTML document. i.e. First name and last name are separate fields, but are combined into one area called "name". This same information is then sent using the "mail" function in PHP to email the same info back to the organization but in the standard limited email format.
What would be nice if in place of the standard email (mail) function is to also mail back the same HTML from as an HTML email back to the organization so that the form has the same exact appearance as the one that was returned to the sender.
Can this be done in PHP? Or would it be a very complicated operation requiring many lines of code and not worth the effort. Any scripts would be of help.
Thanks,
Jim
|