Re: Assign javascript in php variable

From: Date: Mon, 30 Aug 2004 10:22:11 +0000
Subject: Re: Assign javascript in php variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-195152@lists.php.net to get a copy of this message
can the following tag be assigned to a php variable??? $temp="<a href="#" onMouseover=(l1.src="images/fas2.bmp") onMouseout=(l1.src="images/fas1.bmp")> <img src="images/fas1.bmp" name="l1" border="0"> </a>"
escape your " ... like ... $temp="<a href=\"#\"... etc

« previous php.general (#195152) next »