JazMan Posted June 22, 2005 Report Share 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: Link to comment Share on other sites More sharing options...
bubu Posted June 22, 2005 Report Share Posted June 22, 2005 Tāpēc, ka + ir aritmētiskā saskaitīšana, nevis stringu konkatenācija (.) Link to comment Share on other sites More sharing options...
JazMan Posted June 22, 2005 Author Report Share Posted June 22, 2005 Jau pats tiku galaaa, njaaa ar to + bikji aplauzos :D Link to comment Share on other sites More sharing options...
Recommended Posts