My php code returns some value, I am trying to insert in database.
$string = '1,here,Skincare composition against free radicals'; //this is returned
'(insert into import (S.No,Name,Title)) values ($string)'
Need to convert that string in proper format to insert in db
'1','here','Skincare composition against free radicals' //This is expected
implode should do it? But I dont know how?