General Community > Scripting Help
Moving recent posts into 2 lines
(1/1)
GWP:
--- Quote ---Recent Posts
View the 10 most recent posts on the board. "REVIEW OF ENGLISH BLAH BLAH BLAH LEAGUE" is the most recently updated topic (Today at 19:33:03)
--- End quote ---
I am trying to find out how to move the two different sentences onto 2 different lines. At the moment if someone posts to a ling subject line, it wraps around.
I would like to move the 2nd sentence onto a new line, but cannot seem to do it.
Does anyone know what to change where?
Thanks
GWP
Tyris:
uh... replace the full stop "." with a fullstop and a br...?, or fullstop space with fullstop br (so it only replaces if theres something after the fullstop... a space)
--- Code: ---<?php str_replace(". ", ".<br />", $string); ?>
--- End code ---
...?
[Unknown]:
"Fullstop"?
-[Unknown]
Tyris:
uh.. heheh, sorry.. looks like the br was converted by SMF :P
and a fullstop = "." that character... the little dot... I cant remember what other countries call em... period?
*goes to edit php tag thingy*
Seph|roth:
concatenation operator
edit: typo
Navigation
[0] Message Index
Go to full version