How to split the data of the form ["1","2","3"]
and store in array as [1,2,3]
in PHP
?
I need this data in order to get or fetch data from a mysql
table which is having data as id 1 data red, id 2 data blue. so that i need the data to be converted to 1 2 3 so that I can give it in query to fetch the data.
Please someone help me thanks.