Thanks BKBK,
This code is from a registration form that sends a confirmation email out the registrant. The content is kept in a database so changes can be made by the adminstrator, so they don't have to mess with code. When they register, their name is added to the email. I would like to send the course title and start time for the course as well. From the looks of it, I am better off outputting the individual details before the content .