Data not included in the email
Hi Jason
Thanks for the previous reply. I managed to stop the previous errors by commenting out //require_once("library.php"); and the emails work correctly.
I'm now working on another part of the site that has to send emails. These emails allow the user to enter data in to 2 fields Subject and Body. When the email is sent it correctly obtains the text from both fields but it should also include data from a record set. As much as I try I cant get it to pick up this data. I have looked at my previous pages that do work and I cant see for the life of me why it wont work.
I have included the file as well as the email template
john