Learning PHP and MySQL

Example 03-15 Using echo with special characters

<?php
//  This  won't  work  because  of  the  quotes  around  specialH2!
echo  "<h2  class="specialH2">Margaritaville!</h2>";
?>

Posted by on 07/19 at 03:45 PM

Next entry: Example 03-16 Correct escaping of special characters

Previous entry: Example 03-14 Various special characters in string assignments

<< Back to main