php file and document

-

Here’s a sample of php file and document

php file is file with .php (dot php) extension

see the php file in the image below

php file : testing.php

we’ve created a php file called testing.php

php document is a document that consist most importantly of php open tag <?php and sometimes including the php close tag ?> when needful to escape html tags.

below is an example of php document structure

<?php 
echo 'an output';
//.... logic & statements goes 
?>
Godwinhttps://shopinson.com
Owner and founder of shopinson.com. He is a passionate programmer with enthusiasm in daily discovering of solving logic with new block of codes. He loves creating contents and blogging his new discoveries on programming language and related peripherals.

Share this article

Recent posts

Google search engine

Popular categories

LEAVE A REPLY

Please enter your comment!
Please enter your name here