Answers for "code in php"

PHP
7

php in html

Basic PHP Syntax
A PHP script can be placed anywhere in the document.

A PHP script starts with <?php and ends with ?>:

<?php
// PHP code goes here
?>
The default file extension for PHP files is ".php".

A PHP file normally contains HTML tags, and some PHP scripting code.
  
Example
<!DOCTYPE html>
<html>
<body>

<h1>Php in html</h1>

<?php
echo "Hello World!";
?>

</body>
</html>
Posted by: Guest on April-21-2020
0

php code

<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo "Hello World!";
?>

</body>
Posted by: Guest on July-10-2021
0

codes for php

<php>
  
  ?>
Posted by: Guest on June-02-2021

Browse Popular Code Answers by Language