Inserting PHP variabels in a PDF Template

Hi
I am new to PHP but i have been using it now for 1 year and i love it.
My questions are:
1- I have a PDF flat file that i want to fill with PHP variables in several locations in the file that are being generated by filling an HTML form? How can i do that?
This is the link to the template: http://web.cs.dal.ca/~mufti/sdm2/forms/consent.pdf
Note: I am passing the variables through the form with sessions, the data will not be stored in a DB (Although seriously considering that option)
2- In page 3 there are several images, i would like to dynamically generate the images (Which are basically a 10x10 green circles). I would like to change some of them into red circles based on a number generated by a PHP calculation.
How can i do that?
This is the link to one of the images: http://web.cs.dal.ca/~mufti/sdm2/forms/mplot.pdf
Thank you

Sponsor our Newsletter | Privacy Policy | Terms of Service