Array of data you have and you want to store it in a database? This paper is one of the "How to Save Data Array to a Database".
You simply add the function serialize () on the data of your Array. then serialize the results into the database before you save, if you want to call your array data was enough to add function unserialize () on the data you store in a database. The following simple code serialize () and unserialize ().
$data['nama'] = 'Berga';
$data['web'] = 'www.berga-template.blogspot.com';
/* cetak data array */
echo "<pre>";
print_r($data);
echo "</pre>";
/* serialize data lalu simpan kedalam database */
$data_serialize = serialize($data);
echo $data_serialize;
/* unserilize data dari database */
$data_unserialize = unserialize($data_serialize);
echo "<pre>";
print_r($data_unserialize);
echo "</pre>";
Simple enough right "Way to Store Data Array to Database"?
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :