Re: [PHP-DB] Need Help with PHP Mails
Hi Guru, Glad to hear it's working! Yes the mail function will be able to handle all the fields, it should be as simple as repeating what you've already done for all of the remaining fields - Will On Apr 4, 2011, at 1:09 PM, Guru™ wrote: Hi Will, Below is my final PHP code, and its working now. However this is just a small piece of the form that I have created. In my original form I have more then 50 fields and variables. Now I am not sure how to expand this code having all 50 fields. Can the mail function will take that much fields? if(mail($mymail, "New contact info submitted!","Party: {$party_name} Contact: {$contact_no}Email: {$pemail}")) { echo 'Mail sent!'; } } ?>
Re: [PHP-DB] Need Help with PHP Mails
Hi Will, Below is my final PHP code, and its working now. However this is just a small piece of the form that I have created. In my original form I have more then 50 fields and variables. Now I am not sure how to expand this code having all 50 fields. Can the mail function will take that much fields? '; } } ?>
Re: [PHP-DB] Need Help with PHP Mails
Hi Guru, Have you already made the php script that includes the "mail" function? If there is an error in your php that is preventing the mail function from working properly, I or someone else may be able to help you correct it if you were to send the php you have written so far. -Will 2011/4/4 Guru™ > Hi All, > > I have this HTML form > > > > > > > > > cellpadding="0" cellspacing="0" bordercolor="#00"> > > align="right">Your Name > type="text" size="50" /> > > > Contact > Numbers > > >(please specify STD code) > > > align="right">Email > size="50" /> > > > > > > > > > > > > > > > What I want is when the user click on the submit button the data from this > form should directly comes to my email. I tried mail function but not > working for me. I just need these 3 fields in my mail. Please help me with > this. > > -- > *Best, > * > *Guru™* >