I am trying to run a website for fundraising for our rowing team. There will be several volunteers needing to print proposals to take to businesses. I have all this in a mysql database, and php front end.
I have proposal that I would like to be generated into PDF unique to the company the volunteer is solicity.
For example, there is a list of prospects...one might be Bob Williams at Coca Cola. Clicking on "Print Proposal" generates a PDF of the proposal letter, substitutding his name, address etc in where it goes.
I cannot find out how to do this. I am getting close, but not having any luck. can you please guide me.
So far, I have:
$pdf->text(100, 100, $thisContact); // Text at x=100 and y=200.
$pdf->text(100, 112, $thisBusiness_Name); // Text at x=100 and y=200.
$pdf->text(100, 122, $thisMailing_Address); // Text at x=100 and y=200.
$pdf->text(100, 132, $thisCity, $thisState $thisZip); // Text at x=100 and y=200.
and I figured I could somehow put in the rest of the letter -- but I am really confused... and wish there were SOME way to do this better.
Attached is an example of how I'd like the letter to look like.
I might can pay someone to help me.
Justin