Answers for "print html code in php"

PHP
7

How to show php text

<?php
  echo "Hello World!";
// You can also do this with a variable:
$YourVariable = "Hello World!";
echo $YourVariable;
?>
Posted by: Guest on July-11-2020
0

print in php

print_r("");
Posted by: Guest on July-16-2020
0

print html code in php

<?php
echo "<h2>HTML with PHP!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
?>
Posted by: Guest on February-25-2021

Browse Popular Code Answers by Language