| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jul 2008
Posts: 2
![]() | 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) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | if you are using the mail function then simply seperate the email address you are sending too with a ,:- ????: NamePros.com http://www.namepros.com/programming/497126-submit-form-multiple-emails-using-php.html PHP Code:
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |