PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi there. I have a php script file which collects data from a database. As the data is collected i form a variable $display_block which contains HTML code.In the end of the php file i have an <html> tag to show the results.
PHP is invisible to the browser. It doesn't care if its coming from a variable or not.
If you view the source of your output you can see what PHP is generating and the browser is interpreting.