My PHP String
"; //you may print html tags inside script.
echo "I love W3Schools.com!"; //A string display
echo "
"; //you may print html tags inside script.
echo "I love ". $txt2 . "!"; //using (.) operator to combine strings and a variable.
echo "
"; //you may print html tags inside script.
$x = 5;
$y = 4;
echo $x + $y; //9 is the result.
//Inside of html, this line is the last line for php script.
?>
Go to Next Page