all im trying to make this form work but having some issues, here is part of my sender script
$mail->AddAttachment($_POST[file];); // attachment
i have a form that simply posts the valuse from a selection on the list and comes to my sender script how would i ask it to find the file name file1 and add it to the email as an attachment ?, so i can select file2 from the list iot attaches file 2 file 3 picked same principle.
any ideas
I assume you’re trying to accomplish a multiple file select and attach them to you email. You have to use arrays. Name your file input name as
Then use foreach loop