mam kod w php:
$pol->query("update base set users='$res2'"); foreach ($row as $linia){ $pol->query("update base set users='$res13' where name='$linia'"); }}
to widać na wyjściu:
1Array ( [0] => iphone )
2Array ( [0] => [1] => tablet )
3Array ( [0] => [1] => tablet )
4;tablet
5Array ( [0] => [1] => tablet )
6Array ( [0] => [1] => tablet [2] => iphone )
7;tablet;iphone
a to ląduje w bazie na wszystkich polach:
;iphone
dlaczego to:
$pol->query("update base set users='$res13' where name='$linia'");
nie zapisuje w bazie tego :
;tablet;iphone
a zapisuje tylko :
;iphone

Pewnie to proste, ale nie mogę tego ogarnąć.
Dzięki za pomoc.