PHP解决方式:
//对双引号进行转义
$title=str_replace("\"",""",$title);
//对单引号进行转义
$title=str_replace("'",""",$title);
将双引号转义后的内容显示在input文本框中,"在显示时,仍会显示为双引号
PHP解决方式:
//对双引号进行转义
$title=str_replace("\"",""",$title);
//对单引号进行转义
$title=str_replace("'",""",$title);
将双引号转义后的内容显示在input文本框中,"在显示时,仍会显示为双引号