Posted by Gerard Matthew on 04/27/06 05:12
I'm a bit confused on the purpose of
$page = $page -1;
Aren't we moving from page 1 to page N? Shouldn't that be a $page++?
Anyways...
You mentioned you wanted breaks after each paragraph. I'm how that
that's what you else should look like in order to accomplish this.
}else{
$story = wordwrap($story,460,"*#^");
$story = explode ("*#^", $story);
$parts1 = $story[0];
$count = count($story);
$parts2="<BR>"; //inserted break here
for ($i=1; $i<$count; $i++){
$parts2 .=$story[$i];
$parts2 .="<BR>";//inserted break here
}
Could you also provide a sample of what's in your database. So as i
could understand what's being worked with and what format the data is
in.
Navigation:
[Reply to this message]
|