Php dizi bir anahtar-değer çifti başlangıcında takın

0 Cevap
array_unshift ($ids,$product_id => $catalog_tag);

i koyarsanız

array($product_id => $catalog_tag) 

would work but wont add $product_id as key.. I want to add it at the start

0 Cevap