| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Pimp Master M Join Date: Apr 2006
Posts: 51
![]() | Contact Form Help Okay, so I've got a contact form for my portfolio. The code looks alright but the form won't send the emails that are submitted contact.php PHP Code: |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Aug 2006 Location: Canada
Posts: 34
![]() | You don't need a while loop, you can use the isset() function with an if statement. For example: Code: if(isset($_POST['submit']))
{
//Other code
} ????: NamePros.com http://www.namepros.com/showthread.php?t=229089 Code: mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n"); |
| |
| | #3 (permalink) |
| Buy my domains. Join Date: Feb 2006
Posts: 2,796
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | The script is supposed to send it to him. He has it right. PHP Code: |
| |