php Frommail
Moderator: General Moderators
-
after_shox
- Forum Newbie
- Posts: 13
- Joined: Wed Mar 10, 2004 11:53 am
php Frommail
Is there a formmail for php that will just send me whatever text boxes are in the form by email so i dont have to specify them?
you could build a loop to cycle thru the elements and place them into an email body
Code: Select all
You just loop through it like any array:
foreach($_POST as $key=>#value){
# use the key as variable name
print $$key = $val;
}-
after_shox
- Forum Newbie
- Posts: 13
- Joined: Wed Mar 10, 2004 11:53 am
i get
Code: Select all
`T_VARIABLE' or `'$'' in /home/douple/public_html/link/send2.php on line 5