note 21370 added to function.echo

From: Date: Fri, 10 May 2002 04:12:50 +0000
Subject: note 21370 added to function.echo
Groups: php.notes 
Request: Send a blank email to php-notes+get-30413@lists.php.net to get a copy of this message
ok, pretty easy to understand. imma newbie so please no critism. back then it took me days and days to figure out there are two kinds of echo (); echo '<img src="image.jpg">'; ?> that will print out <img src="image.jpg"> as text! so use <?php echo "<img src=\"image.jpg\">"; ?> that will print out the image. although print seems to be better. print has more options but i use echo(); -- http://www.php.net/manual/en/function.echo.php http://master.php.net/manage/user-notes.php?action=edit+21370 http://master.php.net/manage/user-notes.php?action=delete+21370 http://master.php.net/manage/user-notes.php?action=reject+21370

« previous php.notes (#30413) next »