1

Hi Everyone,

Cool site and good idea.

I am working on a phprunner project for patients in a hospital.

Anyone have any ideas how i can generate a automatic discharge letter for a patient , which can take some content from that patients data which is stored in the mysql database. Like Patient name, address and so on. Can i create a MS Word template or maybe a template in PHPrunner with a text area with phprunners rich text editor feature

Many thanks James

PhpRunner's No Irish Fan.

flag

2 Answers

0

I would try to create a template in MS Word and run mail merge connecting to MySQL via ODBC.

Another approach - create a view page in PHPRunner, export it to PDF if required and print.

link|flag
0

What I have done in the past is to create a dataset that will contain all the data releated to the particular letter.

Using MSWord bookmarks and a MSWord template document and progamatically opening the MSWord template document and loop through the dataset and attempt to find and set the bookmark data in code. The problem with this is MSWord must be on server delivering your web pages.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.