0

Ok so here's what I'm trying to do:

1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email.

2. What I want my HTML email (in a table) to do is get some of the info from the form. So within the HTML email table in my <td> i have something like:

<?php echo $_GET["FirstName"]; ?>

- Will this work or how should I go about it?

Edited by drewpark88: n/a

4
Contributors
6
Replies
11
Views
7 Years
Discussion Span
Last Post by saiprem
0

If form is submitting and the firstName attribute present in the form, definitely it should work.

0

in the form if you specify methode="get" use $_get[] or if you menction methode="post" use $_post[];

Edited by rajabhaskar525: n/a

0

Ok so here's what I'm trying to do:

1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email.

2. What I want my HTML email (in a table) to do is get some of the info from the form. So within the HTML email table in my <td> i have something like:

<?php echo $_GET["FirstName"]; ?>

- Will this work or how should I go about it?

definately it works fine.

-1

in the form if you specify methode="get" use $_get[] or if you menction methode="post" use $_post[];

If you are not aware what you are using , use $_REQUEST

0

i think $_REQUEST is using for getting querystring veriable values.

Also we can use $_REQUEST for get and post method, It will works fine with out problem.

Edited by saiprem: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.