> For the complete documentation index, see [llms.txt](https://thinker-technology.gitbook.io/thinkertech-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thinker-technology.gitbook.io/thinkertech-documentation/mysql-data-insert-issue-with-single-quote-and-multiple-quote..md).

# 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); }
