what is the syntex of basic php?

Syntex of basic php.

Basic php syntex is below:


<?php

// Write PHP code  here.

?>

Little demo of php:


<!DOCTYPE html>
<html>
<body>

<h1>My demo PHP page</h1>

<?php
echo "Hello pcube members!";
?>

</body>
</html>

About the Author

avatar