codice:$testo="testo1 testo2*testo3 testo4*testo5 testo6*"; $testo=explode("#",ereg_replace("[/*/ ]","#",$testo)); echo "<table><tr>\n"; foreach($testo as $chiave => $valore){ if ($chiave % 2 == 0) echo "</tr><tr>\n"; echo "<td>$valore</td>\n"; } echo "</tr></table>\n";

Rispondi quotando