PDA

View Full Version : email form


error_22
09-29-2005, 10:00 PM
Hi,

I've made an email form but im having this really silly problem. I have a few fileds which i wanna put in the email thats sent when pressing the submit button, but i want to separate the fileds in different rows, how to do that?

$message = "Namn: " . $_POST[from_fname] ." ". $_POST[from_lname] ."<br>". $_POST[address];

What am I doing wrong? :o

Thanks in advance
Niklas

pyro.699
09-29-2005, 11:58 PM
Hmm.. my entire latest mod was designed on this...


#1... change namn to name :P

check out my mod... feel free to pick it apart... im shure it will help

https://vborg.vbsupport.ru/showthread.php?p=782203

error_22
09-30-2005, 06:28 PM
Hmm.. my entire latest mod was designed on this...


#1... change namn to name :P

check out my mod... feel free to pick it apart... im shure it will help

https://vborg.vbsupport.ru/showthread.php?p=782203

why would i wanna change namn to name?? Im from sweden and its supposed to be in swedish;)

Thanks for your help :)

error_22
11-09-2005, 04:39 PM
I have a small issue though, its impossible to add html codes. If I do the codes shows up in the email. Lets say i have this piece of code:


<?
$reciever = my@email.com;
$subject = test;
$message = this is a <b>test</b>;

mail($reciever, $subject, $message);
?>
The result will be "this is a <b>test</b>", just like i wrote it, not as i want it, what am i doing wrong? :(

Thanks in advance
Niklas


EDIT: works now, gotta love google :P

pyro.699
11-09-2005, 08:33 PM
awww, i had this gia post up, until i saw you had it, hey, im an exper on e-mail forms, all my scrpts use thim, either to show interest, or stuff ^^

lme know if u need any mroe help