echo vs print code example
Example 1: How to show php text
<?php
echo "Hello World!";
// You can also do this with a variable:
$YourVariable = "Hello World!";
echo $YourVariable;
?>
Example 2: how to show rext in php
<?php
$hello = "HELO";
echo "hello";
if (youwantvar = on) {
echo $hello
}
?>