Create an RTF table [message #170845] |
Thu, 02 December 2010 11:11 |
Sarah
Messages: 30 Registered: December 2010
Karma: 0
|
Member |
|
|
Hi! I've an RTF file with some labels and using replace I insert my
values
$contenuto = file_get_contents($fileSorgente);
$contenuto = str_replace("[label]",$Azienda->test,$contenuto);
Now I've to insert a table but I don't know how to insert this in a
RTF file
Can you help me?
Thanks
|
|
|
Re: Create an RTF table [message #170848 is a reply to message #170845] |
Thu, 02 December 2010 13:41 |
Captain Paralytic
Messages: 204 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Dec 2, 11:11 am, Sarah <dandi....@gmail.com> wrote:
> Hi! I've an RTF file with some labels and using replace I insert my
> values
>
> $contenuto = file_get_contents($fileSorgente);
> $contenuto = str_replace("[label]",$Azienda->test,$contenuto);
>
> Now I've to insert a table but I don't know how to insert this in a
> RTF file
>
> Can you help me?
>
> Thanks
http://lmgtfy.com/?q=rtf+file+format
BTW, this has nothing to do with php.
|
|
|
Re: Create an RTF table [message #170850 is a reply to message #170845] |
Thu, 02 December 2010 11:29 |
Luuk
Messages: 329 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 02-12-10 12:11, Sarah wrote:
> Hi! I've an RTF file with some labels and using replace I insert my
> values
>
> $contenuto = file_get_contents($fileSorgente);
> $contenuto = str_replace("[label]",$Azienda->test,$contenuto);
>
> Now I've to insert a table but I don't know how to insert this in a
> RTF file
>
> Can you help me?
>
> Thanks
Best (complete) source would be something like:
http://tinyurl.com/2bd7te7
But, quicker could be to create a new doc, en insert a table into that
document.
After saving the doc, open it with an editor, and find the rtf-codes
that are inserted, and try to make sence out of them....
--
Luuk
|
|
|