截取字符串传入数据库
$f_slide = htmlspecialchars_decode($_REQUEST[‘f_slide‘]);
// echo "<pre>";print_r($f_slide);echo "</pre>";
$arr=substr($f_slide,1,strlen($f_slide)-1);
echo "<pre>";print_r($arr);echo "</pre>";
$array=substr($arr,0,-1);
echo "<pre>";print_r($array);echo "</pre>";
得到