Single quotes, double quotes in php

<?php
     $howdy = 'everyone'; 
     $foo = 'hello $howdy'; 
     $bar = "hello $howdy";
     echo $foo.'<br/>';
     echo $bar;

?>
Output:
    hello $howdy
    hello everyone

Leave a comment

Your email address will not be published. Required fields are marked *