$t ='<span style=\"color:#FF0000;\"> ';
$t. "texto '</span>' ";
echo $t;
The above code does not work, nothing is printed.
I believe the problem is at the closing of tag
span
.
How to solve?
$t ='<span style=\"color:#FF0000;\"> ';
$t. "texto '</span>' ";
echo $t;
The above code does not work, nothing is printed.
I believe the problem is at the closing of tag
span
.
How to solve?
There are some errors, but the basics would be:
$t ='<span style="color:#FF0000;"> ';
$t .= "texto </span> ";
echo $t;