Learning PHP and MySQL
Example 03-12 Using a variable in a string definition
<?php
$my_string = "Margaritaville - Suntan Oil Application!";
echo "Time for $my_string";
?>
Posted by on 07/19 at 03:43 PM
Next entry: Example 03-13 Single quotes used in a string assignment
Previous entry: Example 03-11 Working with strings