Answers for "tag php in html"

PHP
1

php tags

// The opening tag
<?php
  echo "Here is the PHP code."; // Everything in between the tags is executed as PHP code.
// The closing tag
?>
Posted by: Guest on May-29-2021
0

php inside html tag

<?php
  $param = "test";
?>
<a href="http://www.whatever.com/<?php echo $param; ?>">Click Here</a>
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language