php - how to save variable as array into database -
how can save array database string
col1 | col2 ------------------- 1 | array(1,2) ------------------- 2 | array(6,9)
all value in array related together
use serialize() , unserialize()
http://php.net/manual/en/function.serialize.php
http://php.net/manual/en/function.unserialize.php
your data this: a:2:{i:0;i:1;i:1;i:2;}
@admin
ReplyDeleteis their any code to add menu in the website and java script is important for this process.
Regards,
Deepika Verma