Reply to Re: need help with generating html source from the php

Your name:

Reply:


Posted by Sanders Kaufman on 09/28/07 11:19

"Shelly" <sheldonlg.news@asap-consult.com> wrote in message
news:13fnjqlt7862n23@corp.supernews.com...
> "Sanders Kaufman" <bucky@kaufman.net> wrote in message

>>> Is it simply that the entire string is captured in the quotes and so
>>> appears on the screen as right to left? If that is the case, then what
>>> happens with word wrap?
>>
>> I don't understand the question.
>> You had me up until word-wrap.
>> When you echo a string, as shown - it spits the result out to std_out as
>> composed.
>> There's no word-wrap unless the client is doing something like that.
>> Does that help answer the question?
>
> As one example, if you have a table of fixed column width and allow
> multi-line (a not uncommon situaton), then the text will wrap. What
> happens if that text is supposed to be right to left? Treating it all as
> a one left to right string will cause it to wrap incorrectly. Does that
> help you understand the question?

Yeah, I think so.
But for that - you're best answer can be found in the PHP docs at PHP.net -
if you're using PHP's wordwrap thingy.
I don't use it much.


> because it assumes left to right. In a right to left language, aaa is the
> the first word, bbb the second, etc. We would want it to wrap as:
>
> "ddd ccc bbb aaa"
> " ggg fff eee"
>
> That is what I meant. How does one make that kind of thing happen. A
> simple echo will wrap incorrectly.

You'll probably have to create your own function for that.
I don't think PHP is *that* internationalized yet.

[Back to original 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

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