Forum Moderators: coopster
<?php
$var = "This is a test";
echo 'This is a variable: $var<br>';
echo "This is what is inside: $var";
?>
Also to ensure that you are doing everything correctly you can put the variable outside of the string:
echo "This is what is inside: ".$var."<br>";
As you see the concatenation in php is a dot (not plus as in javascript).
Best regards
Michal Cibor