Re: Printing Forms

From: Date: Fri, 21 May 2004 15:09:34 +0000
Subject: Re: Printing Forms
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34512@lists.php.net to get a copy of this message
Hi Mike, you could put placeholders into your Word document and then replace them with your MySQL data by opening the file contents and applying str_replace() to all placeholders. Regards, Torsten "Mike Koponick" <mike@redhawk.info> wrote in message news:7E3C85616E70A542B455EDB7E6C952FF24C47A@SCREECH.REDHAWK.local... I have a need to extract data from MySQL via PHP (which I can do easily) but I need to put that data into a form. The current form is a WORD doc, and we type in the information needed and print/PDF/E-Mail the form to the appropriate people. What I would like to do is use the WORD form and place the MySQL data into that form. I didn't see a real easy way to do this, and was hoping that someone may have some insight on how to do this. Thanks in Advance, Mike

« previous php.db (#34512) next »