I have a situation where I want HTML code to change based on the value of a variable. So, I have the following:
if($PropType == "1" )
{
$rooms = ' HTML code Here';
else
{
if($PropType == "2" )
{
$rooms = 'Diff HTML Code Here';
Than I
echo $rooms;
Everything is working great. My question is...how can I echo a variable within the html code.
For instance:
if($PropType == "1" )
{
$rooms = ' HTML code Here $PRINTTHISVARIABLE HTML code code html ';