This is a start of trying to format a text that comes from a site (KD formatter for Utopia). Now It starts and breaks where I want it to but it echos everything I paste in to the textarea, I want to somehow stop the text at command 🙂
$array = split('\ ', $text2);
foreach ($array as $s){
$s = trim($s);
switch ($s) {
case "Total": echo ("<br> Total "); break;
default: echo("$s "); }
}
Yes I am pertty new to this, if you don´t understand my question fell free to ICQ me at: 129430397.