 |
make an array in PHP |
this article show you how to create array in php with key and value, so check this out
First create array in PHP
$var=array('judul'=>'isi');
Add an array in PHP
$var['judul2']='isi2';
$var['judul3']='isi3';
then retrieve result by execute these script
echo json_encode($var);
0 Response to "how to make array in PHP"
Posting Komentar