How to read a .php file using php
Let's say you have two files a.php
and b.php
on same folder.
Code on the file b.php
and code on a.php
You access a.php
on browser.
What do you see? A blank page.
Please check the page source now. It is there.
But not showing in browser as is not a valid html tag. So browser can not render it properly to show as output.
Now you can see the output in browser.