开发者

How to use urlencode to handle two question marks in url in php

I have tried to understand and use urlencode, but the problem can't be solved.

The code is:

<?php print 'index.php/?page=search?query='.quote_replace(addmarks($search_results['did_you_mean'])).'&s开发者_JS百科earch=1'?>


use urlencode

edit

try rawurlencode

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜