Not all the data of the transferred to my Email Contact form

I cannot transfer data to the Handphone of the Contact form field. I am able to transfer the data of name, E-mail address and text fields.

Please see my codes on my Contact form:

< div id = "formdiv" > < form action = "mailscript.php" method = "post" id = "contact form" > "

< p >

< label for 'name' = > name < / label >

< input type = "text" name = "name" id = "name" / >

< /p >

< p >

< label for "emailadd" = > E-mail address < / label >

< input type = "text" name = "emailadd" id = "emailadd" / >

< /p >

< p >

< label for "hp" = > Handphone No. < / label >

< input type = "text" name = "hp" id = "hp" / >

< /p >

< p >

< label for 'text' = > Message < / label >

< name textarea = 'text' id = cols "text" = "45" rows = "5" > < / textarea >

< /p >

< p >

< input type = "submit" name = "submit" id = "submit" value = "Submit" / >

< /p >

< / make >

< / div >

Here is my PHP code:

<? PHP

' $email = ' [email protected] "; "

$name = $_POST ['name'];

$emailadd = $_POST ['emailadd"];

$text = $_POST ['text'];

$subject = "message on the Web site;

$headers = "from: $emailadd\r\n";

$headers. = "reply-To: $emailadd\r\n";

build the message

$message = "name: $name\n\n;

$message. = "e-mail address: $emailadd\n\n";

$message. = ' Handphone No.: $hp\n\n ";

$message. = "message: $text\n\n";

mail ($email $subject, $message, $headers);

Print "your message has been sent;"

? >

Thank you!

Add the code in red below:

$name = $_POST ['name'];

$emailadd = $_POST ['emailadd"];

$hp = $_POST ['hp'];

$text = $_POST ['text'];

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Satellite R630-13F - RAM upgrade

    Hi all My R630 is faced with a newly added software for Photoshop (CS5 version). Whenever it is quite slow to open and try to merge the picture for the economy. I was wondering if I can upgrade the RAM. With a very limited knowledge, I would like to

  • Satellite Pro 4340DVD will not initialize - pci.sys missing or corrupted

    I bought a Toshiba laptop Satellite Pro 4340DVD model # PS434C-3N152, Serial # Y0018185J, off E - Bay.The original operating system, Win 98SE has been upgraded to Win XP Pro. No disc don't came with the laptop.The laptop crashed yesterday while I was

  • LNK files are appearing and Adobe Acrobat can not open

    2 days ago, I sent a file from my other laptop to the Toshiba, when I went to open it it did not open, he said it was a LNK file, now all the icons on my desktop are displayed as lnk files and saying adobe cannot open them because they are not taken

  • L50 satellite will not start up - request password HARD drive

    Hello I hope someone can help me I have a laptop Toshiba Satellite L50 and when I start it, it says+ no boot device please don't restart System. It is still under warranty because it was purchased only 6 months ago.I took it back where I bought it an

  • System disk

    I'm loading the Acer recovery disks in my laptop Acer Aspire 5750, but now he is looking for a system to complete disk. What should I do next?