我的 php 代码返回一些值,我正在尝试插入数据库。
$string = '1,here,Skincare composition against free radicals'; //this is returned
'(insert into import (S.No,Name,Title)) values ($string)'
需要以适当的格式转换该字符串以插入数据库
'1','here','Skincare composition against free radicals' //This is expected
内爆应该做吗?但我不知道怎么做?