Jump to content
php.lv forumi

atdaliit ar komatu masiiva elementus


cilveks

Recommended Posts

foreach ($change as $target => $value) {
echo $target," = '",$value,"', ";
}

Kaads buutu efektiivaakais veids, lai izvadiitu visu iepriekshmineeto, bet neliktu aiz peedeejaas veertiibas komatu?

vards = 'name', uzvards = 'surname', <- sheit beigaas tas komats nav vajadziigs.

 

P.S. Varbuut ar explode, implode paliidziibu?

Link to comment
Share on other sites

×
×
  • Create New...