php 如何解决post提交的时候加号变空格

提交到数据库的时候 加号变成了空格
2025-06-22 15:11:53
推荐回答(1个)
回答1:

$post = '1+2+3';
$post = str_replace("+", "\t", $post);