Hello, I want to print a letter from a html page. But within the letter, I want it to contain the name of each student on the database. It is the same letter but I want to print/download it having each student's unique name.
You just have a placeholder. BUT how is you letter stored - is it in a plain text file, a DB record or in a php variable or as plain html?
Does it contain preformatting as in hard breaks?
Do you want to be able to download multiple letters at a time from one page, or is it for the student to print off their own letter?
Thank you so much, it worked just fine.
But there's a little challenge, I figured out there are 3 different fields I need to change. One (current academic session: same on all letters, also obtained from the database). The other two are name and registration number of each student. I tried associative array but didn't work.