PHP bir dizi içine bazı yeni veri eklemek

0 Cevap php

Ben böyle bir dizi var:

array('Testing'=>array(
'topic'=>$data['Testing']['topic'], 
'content'=>$data['Testing']'content'])
             ); 

Now I have got some new data to add into the Array shown aboved,
how can I do it so that the new Array will look like this:

array('Testing'=>array(
'topic'=>$data['Testing']['topic'], 
'content'=>$data['Testing']['content']),
'new'=>$data['Testing']['new'])
                 ); 

Bana yardım eder misiniz?

0 Cevap