Mysql data insert issue with single quote and multiple quote.
This is the solution of ' and " insert issue in mysql
$nftname="vfdmvdf' vffv fdvdfjn fdnldf'"; if(strpos($nftname,'"')){ $nftname=str_replace('"', ''', $nftname); }else if(strpos($nftname,"'")){ $nftname=str_replace("'", '"', $nftname); }
Last updated