Mike Law
Active member
Hi guys,
I need to fix the following code, to actually work.
On my wiki site I place a link on each page like this
<?php
echo "<a href=\"http://www.myforumurl.com/search/search?keywords=<?php echo url_encode($page_title); ?>\">Discuss this topic in forums</a>\n";
?>
But when I click on the link it sends me here,
www.myforumurl.com/search/search?keywords=<?php%20echo%20url_encode();%20?>
What am I doing wrong?
I need to fix the following code, to actually work.
On my wiki site I place a link on each page like this
<?php
echo "<a href=\"http://www.myforumurl.com/search/search?keywords=<?php echo url_encode($page_title); ?>\">Discuss this topic in forums</a>\n";
?>
But when I click on the link it sends me here,
www.myforumurl.com/search/search?keywords=<?php%20echo%20url_encode();%20?>
What am I doing wrong?