Why do we show php code in browser?



Why do we show php code in browser?..

Answer / Gyanendra Kumar Mishra

When a PHP file is executed on the server, it generates HTML output that is sent to the browser. If the PHP script includes HTML tags, they will be displayed as part of the web page.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Tell me what is the difference between ereg_replace() and eregi_replace()?

1 Answers  


How to join multiple strings into a single string?

1 Answers  


What are php magic quotes?

1 Answers  


What does $_ post mean in php?

1 Answers  


What is the difference between htmlentities() and htmlspecialchars()?

0 Answers  


What is Apache's configuration file typically called?

1 Answers  


What is the function mysql_pconnect() usefull for?

1 Answers  


How to move uploaded files to permanent directory?

1 Answers  


Differentiate echo vs. Print statement.

1 Answers  


Is it necessary to use closing tag in php?sometime without closing tag things work.why?

2 Answers   ShopRite,


How do functions work?

1 Answers  


armstrong number by using php while number is given by the keyboard.?

1 Answers  


Categories