Mr. J Posted November 22, 2007 Share Posted November 22, 2007 I have a tell-a-friend PHP script that I'm already using successfully and I want to tweak it so that visitors can optionally send a notice to multiple email addresses. I've named and added several new fields to the form. Can anyone tell me how to update the script to accomodate this? I believe these are the attributes in the script which need configuration. $tomail = $_POST["friend_email"]; //THE ADDITIONAL EMAIL FIELDS ARE NAMED //friend_2, friend_3, friend_4, friend_5 //send the email mail ($tomail, $subject, $inputMessage,$from); Thanks Link to comment https://forums.phpfreaks.com/topic/78419-need-else-if-statement-for-php-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.