*beginner* form process
Posted: Wed Aug 16, 2006 12:47 pm
I need to process a somewhat long form and send it in an e-mail with html formatting.
so far I got a simple form to send an html e-mail,
and
i've gotten a long form to send a regular e-mail.
BUT
I can't seem to combine the 2 and be able to send an e-mail for a long form with html formtting.
I'm a student in web design and my summer job wants a form. it's not pretty but they like it so... what ev. but I'm trying to learn php and make this form work while at work and it's not working the way I planned. php seams pretty simple in it's form processing... (maybe too simple) but some things I just don't understand being new to php, and somewhat programming in general.
like .$key. => .$value. I understand that key is the name of a variable or an item in my form and value is the value of that item but it displays like
.$key. : .$value. because it is written in the php I got from somewhere else. so how do I make it so that I don't have to write out all the variables in the html like I did in the simple form like .$Date. and .$email but still send an e-mail formatted in html
like make a template and then insert the variables.
<span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>, writing it down makes me even more confused. sorry if this makes no sense. just pick and choose what you want to help with
Thanks
Bubs
so far I got a simple form to send an html e-mail,
and
i've gotten a long form to send a regular e-mail.
BUT
I can't seem to combine the 2 and be able to send an e-mail for a long form with html formtting.
I'm a student in web design and my summer job wants a form. it's not pretty but they like it so... what ev. but I'm trying to learn php and make this form work while at work and it's not working the way I planned. php seams pretty simple in it's form processing... (maybe too simple) but some things I just don't understand being new to php, and somewhat programming in general.
like .$key. => .$value. I understand that key is the name of a variable or an item in my form and value is the value of that item but it displays like
.$key. : .$value. because it is written in the php I got from somewhere else. so how do I make it so that I don't have to write out all the variables in the html like I did in the simple form like .$Date. and .$email but still send an e-mail formatted in html
like make a template and then insert the variables.
<span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>, writing it down makes me even more confused. sorry if this makes no sense. just pick and choose what you want to help with
Thanks
Bubs