Reputation: 5312
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'])).'&search=1'?>
<?php print 'index.php/?page=search?query='.quote_replace(addmarks($search_results['did_you_mean'])).'&search=1'?>
Upvotes: 1
Views: 1770
Reputation: 7956
use urlencode
try rawurlencode