display values in php 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: print in php
print_r("");
<?php
echo "Hello World!";
// You can also do this with a variable:
$YourVariable = "Hello World!";
echo $YourVariable;
?>
print_r("");