Hey there, I have a PHP form, basic PHP form that gets the data and emails it to me in plain format. I have an XLS file setup with my template, and data blocks empty where I need this form data inserted. Is there a way to do this automatically, and have it attached to the email before its sent on to me?
Maybe write a plain text file that's a CSV? It's easy using fopen / fwrite functions and then mail it as an attachment. Excel can open CSV just as it would with xls files. You can use this AttachmentEmail class to email attachment with PHP.