Re: FN-FORUM Dynamic rtf (word) docs from MySQL
date posted 3rd May 2002 13:56
On Thu, May 02, 2002 at 10:12:58PM +0100, Dave Raza wrote:
> G,day all
>
> I need to generate a word document from data stored in MySQL using PHP.
> Its for printing/saving CV data.
>
> I *think* its possible I know PDF is...can anyone point me in the right
> direction....resource??
>
You could write a small perl script to generate your RTF -
there are numerous RTF encoding/decoding modules in the CPAN library,
then shell out to it from your PHP script.
Alternatively, www.wvware.com might have a utility that you can call
from your php script - they make libraries that let you deal with
Word documents directly.