Thanks to both of u for your reply
Altough to prasanthmj i rather stick with this code.
Either though it needs some changes but i can build from it and the link you give me is to much script for what i need. Still though thanks 
To bluewalrus Thanks!
Now more things are working but still not all. The Subject he is sending just like before. But now he also sends the message. But when i try to add more fields to it like 3 fields he doesnt sends at all anymore and get a error.
I changed it likes this i added a line like this at the contact.php:
HTML Code:
<tr>
<td>Last name</td>
<td>:</td>
<td><input name="last_name" type="text" id="last_name" size="50"></td>
</tr>
This code is working fine so far.
And added at the send_contact.php this:
PHP Code:
$last_name = $_POST['last_name'];
And added at the line the $last_name so he will send it also:
PHP Code:
if (mail($to,$subject,$last_name,$message,$header)) {
But then mostly i get a error but still sending email, when i add another field i get a error and dont get a email at all.
Its bit odd to me. To me it looks like he cant send more then 5 variables and i want to send more.
I hope u can help me out with this.
Thanks in advance
Bookmarks