| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| New Member | Submit form to multiple emails using a PHP form Hi guys, I would just like to know how to beable to submit a form to 2 email addresses. I am using a .php form and this is how my html coding goes with a single email address: $to = "address@email.com"; $from = $_POST['email']; $subject = "Website Enquiry"; Let me know, thanks! |
| |
| | #2 (permalink) |
| Senior Member | if you are using the mail function then simply seperate the email address you are sending too with a ,:- PHP Code:
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |