",$s); $s = $ar[1]; $ar = explode("tdftdiv",$s); $s = $ar[0]; $ar = explode(">",$s); $a = array_shift($ar); foreach( $ar as $a ) { $ar2 = explode("<",$a); $s= mb_ereg_replace("@","",trim($ar2[0])); if( $s!="" ) $ss .= $s." "; } print $ss; ?>