You are here: Re: textarea fields --> export to ms word --> word is stretch « All PHP « IT news, forums, messages
Re: textarea fields --> export to ms word --> word is stretch

Posted by Tom on 03/02/07 19:06

On Sat, 3 Mar 2007 01:00:29 -0800, Eric Layman" <namyalcire[at no
spam]gmail.com> wrote...
>
>Hi,
>
>I have fields from textareas.
>
>With a click of a button, php is able to grab these fields and by using
>header(), convert the output to Ms Word doc.
>
>But the outcome of the word doc doesn't wrap the text in textarea.
>
>the result is one very veyr long string of text which stretch MS word all
>the way
>
>how to over come that?
>
>I've tried different wrap attributes.
>

I'm curious about that too. When I've used Perl they have a wrap subroutine that
can be used to place new line characters, or HTML tags (<br> and <p>) to fix up
the formatting. Maybe the texatarea attributes such as "cols" and "wrap" can
pre-format the text?

Tom
--
Newsguy.com
75+ Days Retention!
Higher levels of article completion!
Broader newsgroups coverage

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация