Re: question on parameter specification in href tag

From: Date: Fri, 12 Dec 2008 19:45:51 +0000
Subject: Re: question on parameter specification in href tag
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-284563@lists.php.net to get a copy of this message
Hi, thanks for the quick solutions ! Regards Xaver ""Xaver Thum"" <xaver.thum@t-online.de> schrieb im Newsbeitrag news:9B.01.31950.6DBE0494@pb1.pair.com... > 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 > > Xaver >

« previous php.general (#284563) next »