Re: question on parameter specification in href tag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux