How to store array in mysql? | Techbirds
Posted on: April 10, 2019 /
Posted on: July 15, 2014 /
Categories: PHP / Author Name: Diksha Verma
This is one of the mostly asked question by php programmer because mysql doesn’t has any array data type. So we can not store array directly into mysql database.
To do this we have to first convert array into string using php serialize() function then save it into mysql database.