# Php tweak

**URL:** <https://forum.kirupa.com/t/php-tweak/34570>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 1:51am UTC](https://forum.kirupa.com/t/php-tweak/34570 "2003-11-04T01:51:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbsykes](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jbsykes](https://forum.kirupa.com/u/jbsykes)\
**Post date:** [November 4, 2003, 1:51am UTC](https://forum.kirupa.com/t/php-tweak/34570/1 "2003-11-04T01:51:26Z")

</div>

[sample form](http://www.meganpower.com/form.htm)

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

";  
$msg .= "$subject

";  
$msg .= "$address

";  
$msg .= "$phone

";  
$msg .= "$email

";  
$msg .= "$weddingdate

";  
$msg .= "$location

";  
$msg .= "$message

";

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

?\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 5:05am UTC](https://forum.kirupa.com/t/php-tweak/34570/2 "2003-11-04T05:05:34Z")

</div>

\<?

$to = "megan@meganpower.com";  
$msg = "Name: $name

";  
$msg .= "Subject: $subject

";  
$msg .= "Address: $address

";  
$msg .= "Phone: $phone

";  
$msg .= "E-mail: $email

";  
$msg .= "Wedding Date: $weddingdate

";  
$msg .= "Location: $location

";  
$msg .= "Message: $message

";

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

?\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 6:51am UTC](https://forum.kirupa.com/t/php-tweak/34570/3 "2003-11-04T06:51:20Z")

</div>

Thanks Bro.

:bu:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 10:32pm UTC](https://forum.kirupa.com/t/php-tweak/34570/4 "2003-11-04T22:32:47Z")

</div>

not a prob
