próbuje stworzyć operacje na ciągach:
z tego
<tr height=\"19\" style=\"height: 14.4pt;\">
<td class=\"xl65\" height=\"19\" style=\"height: 14.4pt; width: 48pt;\" width=\"64\">
test</td>
<td align=\"right\" class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\">
1</td>
<td align=\"right\" class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\">
2</td>
<td align=\"right\" class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\">
3</td>
<td align=\"right\" class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\">
6</td>
<td class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\">
</td>
</tr>
<tr height=\"19\" style=\"height: 14.4pt;\">
<td class=\"xl65\" height=\"19\" style=\"height: 14.4pt; border-top: medium none;\">
test2</td>
<td align=\"right\" class=\"xl65\" style=\"border-top: medium none; border-left: medium none;\">
23</td>
<td align=\"right\" class=\"xl65\" style=\"border-top: medium none; border-left: medium none;\">
34</td>
<td align=\"right\" class=\"xl65\" style=\"border-top: medium none; border-left: medium none;\">
45</td>
<td align=\"right\" class=\"xl65\" style=\"border-top: medium none; border-left: medium none;\">
56</td>
<td class=\"xl65\" style=\"border-top: medium none; border-left: medium none;\">
</td>
</tr>
chciałbym mieć tablice
$test[0]=1;
$test[1]=2;
$test[2]=3;
$test[3]=6;
$test2[0]=23;
$test2[1]=34;
$test2[2]=45;
$test2[3]=56;
gdzie mogę przeczytać jak to zrobić?
na chwile obecną poprzez
explode('</td><td', $_POST['tresc']);
łapie 1 tablice
test 1 2 3 6
test2 23 34 45 56
)
i co dalej?
Ten post edytował adi456 21.07.2011, 00:54:15