对不起,
我现在觉得很愚蠢,但我怎么能以正确的方式做到这一点:
'.str_replace(' ', '+','$fetch['title']).'
没有'
很容易,但我不知道如何在这个代码行上放置str_replace
'.$fetch['title'].'
我试过了:
'.str_replace(' ', '+','$fetch['title']).'
//
str_replace(' ', '+',''.$fetch['title']).'
'.str_replace(' ', '+',$fetch['title']).'