Hello everyone!!
I'm trying to send an email to users to let them know what workshops they are registered in. I was using:
mail("$email","Workshop registration approved","Attention: <br>You have been registered for the following workshops - ");
This will send the email without the workshop list. My problem is that I can't seem to find a way to print the workshops. The workshops are in an array "workshopArray[]".
So I wanted to step through the array and print each workshop name. But I can't seem to do a while statement in my "mail" code above. Does anyone have any idea how to do this?? or can anyone point me in the right direction??
Thanks for your time!! Any help is greatly appreciated.