note 42149 added to tutorial.useful

From: Date: Wed, 05 May 2004 12:41:07 +0000
Subject: note 42149 added to tutorial.useful
Groups: php.notes 
Request: Send a blank email to php-notes+get-69228@lists.php.net to get a copy of this message
<?php echo 'This isn\'t very easy, and a \'parse\' error isn\'t all that uncommon.'; ?> instead of doing that, you can say <?php echo "This is very easy, and a 'parse' error isn't all that uncommon if you don't know much about PHP before you badmouth it"; ?> Either the single or double quotes can be used around an echo statement. PHP is quite clever when determining what a string should be. Eat that. ---- Manual Page -- http://www.php.net/manual/en/tutorial.useful.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42149 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42149&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42149&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69228) next »