Reply to Re: Need help breaking up text for multiple pages

Your name:

Reply:


Posted by m.shidoshi on 04/27/06 06:32

First, I have no idea why that code is there, as I didn't put it there
myself. *heh*

Actually, let me clear up what I was saying. Right now, something
somewhere in the coding of the site puts in <br/> tags for every
carrier return. (More on that in a moment.) So, my thought was, instead
of breaking up the text for separate pages at an arbitrary place, and
possibly cut a paragraph or sentence in half, I was thinking that if I
could have the PHP code break up the text at, say, every sixth grouping
of two <br/>s together, instead of say at X number of words or
characters. That way, each page would have like six paragraphs on it,
but that would also make it so that if I have an interview with a
question, one <br/>, and then the answer, it wouldn't break up the
question and answer.

Does that make sense?

As far as what is in the database, it's just plain old text. For
example, in the backend, I'll cut the review from my text editor, and
then paste it in. Either before or after it goes into the database, it
gets the <br/> tags added to it. (If it is important which step it is,
I can check.)

[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

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