JazMan Posted June 22, 2005 Report Posted June 22, 2005 Ir sekojoshs kods $filter2=""; foreach($keywords_array as $keyw){ if (isset($keyw)) $filter2=$filter2+" zzzzz ".$keyw; } echo($filter2); Kapec mainigaja filter2 netiek iedziti visi masiva elementi, bet tikai pedejais??? piemeram ja masiva keywords elementi ir: "viens","divi","tris" tad beigas filter2="zzzzz tris", nevis "zzzzz viens zzzzz divi zzzzz tris" :blink:
bubu Posted June 22, 2005 Report Posted June 22, 2005 Tāpēc, ka + ir aritmētiskā saskaitīšana, nevis stringu konkatenācija (.)
JazMan Posted June 22, 2005 Author Report Posted June 22, 2005 Jau pats tiku galaaa, njaaa ar to + bikji aplauzos :D
Recommended Posts