PDA

View Full Version : php help


jbsykes
11-03-2003, 11:13 PM
I also posted this in another section of the forum by accident.


I have a simple php form. When I recieve the email I cannot see the subject of each line. So, If they leave there phone number I want it to say Phone: next to the number. Am I making sense?

thanks

here is the PHP code:

<?

$to = "megan@meganpower.com";
$msg = "$name\n\n";
$msg .= "$subject\n\n";
$msg .= "$address\n\n";
$msg .= "$phone\n\n";
$msg .= "$email\n\n";
$msg .= "$weddingdate\n\n";
$msg .= "$location\n\n";
$msg .= "$message\n\n";

mail($to, $subject, $msg, "Wrom: DJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCL

?>

simple form (http://www.meganpower.com/form.htm)

Colin Campbell
11-03-2003, 11:32 PM
see. when I said search the forum for help, I didn't mean post it in here, now we just have 2 duplicate threads, creating problems. ;) If you would kindly delete either of the threads, that would be great.

Night, Colin

annexion
11-04-2003, 12:39 AM
Delete this one. I've provided help in the other one.