View Single Post
Old 05-07-2005, 07:29 AM  
celebx
Confirmed User
 
Join Date: Jul 2001
Location: The Netherlands
Posts: 197
<?php
$paragraphs = explode("\n", $text);
$new_paragraphs = array();
foreach ($paragraphs as $paragraph => $text) {
$ln=0;
while ($text{$ln} || $text{$ln}hahahaha' ' || $text{$ln}hahahaha0) {
if ($lnhahahaha0) {$new_paragraphs[$paragraph]=strtoupper($text{$ln});}
else {$new_paragraphs[$paragraph].=$text{$ln};}
}
$text='';
foreach ($new_paragraphs as $paragraph => $text) {
$text.=$text."\n";
}
?>
__________________
Message me for more info: ICQ 8322641 (@gmail.com).
celebx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote