does anyone know how I can take this script http://www.planet-source-code.com/vb/sc ... 8&lngWId=8 and use it to process a form? I look like it would be possible but I don't know how to add the variable from the form. I found this and would like to use it with the swift mailer to mail out as an attachment.
I don't know much about programing but am trying to learn while I work but It's not working out a well as I hoped. but this seems like it would be an easy task... I hope
printable document from form
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Although RTF is perfectly fine for many things, I may use PDF generation. Some libraries of interest for PDF generation are fpdf and ezpdf.
Either way is probably fine. You could even include both. -- What a concept!
--. The article you linked is roughly a template variable injection function for existing RTF files and does include a facility to write it to a file. You should be able to adjust it to capture the output as a string or something without much difficulty. It does not actually generate the RTF file in itself however; instead it uses an existing one. There are other libraries for RTF available such as this which does a basic convertion from HTML to RTF.
Either way is probably fine. You could even include both. -- What a concept!