On Thu, 2008-12-11 at 11:30 +0100, Xaver Thum wrote:
> Hi,
> 
> I want to set a link like
> 
> <a href="http://www.anyurl.com?mypar=17&color=red";> ...
> 
> into my HTML file; that works fine.
> 
> But if I specify a hex color like #CC0000 instead of "red",
> 
> <a href="http://www.anyurl.com?mypar=17&color=#CC0000";> ...
> 
> the color is ignored (probably because # starts a PHP comment).
> Is there any workaround for this problem ?
> 
> Thanks and Regards

urlencode()

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to