I am developing a script to accept up to 20 email addresses and email them an invitation to join my website. I have searched this forum, and found a couple usefull things but not exactly what im looking for.
On my HTML page, i will have 20 textboxs that will be used to collect the email addresses of friends they want to invite.
On form submission, in my php script would i have to check for every textbox?
if(isset() and strlen() ) {
// send email
}
Or is their a way i could check all the textbox's and process the ones that had a valid email address? I was thinking i could use a while loop .. but how would i input all the names of the textboxes .. Im a little confused.
Someone lead me in the right path .. thanks.