FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Create an RTF table
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Create an RTF table [message #170845] Thu, 02 December 2010 11:11 Go to next message
Sarah is currently offline  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 Go to previous message
Captain Paralytic is currently offline  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 Go to previous message
Luuk is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PHP Pear Pager and $pager->linkTags
Next Topic: Using a debugger with PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jun 26 08:53:44 GMT 2024

Total time taken to generate the page: 0.02703 seconds