[PHP] question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi,

I want to set a link like

a href=http://www.anyurl.com?mypar=17color=red; ...

into my HTML file; that works fine.

But if I specify a hex color like #CC instead of red,

a href=http://www.anyurl.com?mypar=17color=#CC; ...

the color is ignored (probably because # starts a PHP comment).
Is there any workaround for this problem ?

Thanks and Regards

 Xaver 



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



[PHP] Re: question on parameter specification in href tag

2008-12-12 Thread Xaver Thum
Hi,

thanks for the quick solutions !

Regards  Xaver





Xaver Thum xaver.t...@t-online.de schrieb im Newsbeitrag 
news:9b.01.31950.6dbe0...@pb1.pair.com...
 Hi,

 I want to set a link like

 a href=http://www.anyurl.com?mypar=17color=red; ...

 into my HTML file; that works fine.

 But if I specify a hex color like #CC instead of red,

 a href=http://www.anyurl.com?mypar=17color=#CC; ...

 the color is ignored (probably because # starts a PHP comment).
 Is there any workaround for this problem ?

 Thanks and Regards

 Xaver
 



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