<?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).
|