PHP Example
We can create a simple program by writing the source code inside the php tag and save it with .php extension. Syntax:
<?php // your code here ?>Let us take an example of PHP.
<!DOCTYPE html> <html> <head> <title>PHP Program</title> </head> <body> <?php echo "Hello PHP"; ?> </body> </html>