Welcome Guest, Not a member yet? Register   Sign In
uri help guys
#1

[eluser]billie joe[/eluser]
guys i got a problem...
this is the code that i got


<a>
&lt;?php echo anchor('&lt;?php echo $url ?&gt;' ,'download'); ?&gt;
</a>

supposed to be database will be the provider of the url.


after i click the download button, error happens.

The URI you submitted has disallowed characters.

can you help me with this one? thanks a lot
#2

[eluser]Dam1an[/eluser]
You don't need to wrap the anchor function with '<a>' tags
You've also got PHP in your PHP

Try
Code:
&lt;?php echo anchor($url,'Download');?&gt;
or using shorttags
&lt;?=anchor($url,'Download')?&gt;




Theme © iAndrew 2016 - Forum software by © MyBB