Re: inserting <img> tag into a script

From: Date: Wed, 06 Dec 2000 18:44:03 +0000
Subject: Re: inserting <img> tag into a script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28949@lists.php.net to get a copy of this message
Hello BrianSander, Wednesday, December 06, 2000, 8:36:52 AM, you wrote: B> Greetings, B> Got a slight html tag problem with a php4 script. I've written a function B> which forms a generic page for my web page. What I attempted to do was B> insert an image into the page. The problem line is: B> print("<img src="../graphics/logo.jpg">"); B> The above line is slightly abbreviated but that line produces an error B> when the script is executed. It works fine if it's not in a php script. B> I've done a quick search of the help files on php.net and was unable to B> find anything. Don't you need to escape out the quotes? print("<img src=\"../graphics/logo.jpg\">"); -- DSig David Tod Sigafoos mailto:dsig@teleport.com Using 'The Bat' 1.48 Beta/8 ````` ( O O ) _______oOOo__( )__oOOo_______

« previous php.general (#28949) next »