What are the advantages of PHP over HTML?

Answer Posted / sachin

PHP is a scripting language that provides database
connectivity methods, data processing and logic encoding.
HTML is NOT a scripting language and is a markup language
used for browser interpretation.

The PHP after executing on the server throws out HTML that
is sent to the user's browser.

One can make static web pages using HTML ; PHP is meant to
make data driven intelligent applications and uses HTML to
show the result of processing to the user.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session and why do we use it?

562


What’s the difference between htmlentities() and htmlspecialchars()?

581


How to call a php function from another php file?

510


What is basic php?

548


Tell me how to create a text file in php?

554






How to execute a function in php?

467


What are the encryption functions available in PHP?

571


What is htmlspecialchars?

558


How do you check is php not empty?

564


What is php session start?

530


What is a variable cost example?

555


Does php have block scope?

530


Tell me how can we determine whether a php variable is an instantiated object of a certain class?

562


Explain Booleans in PHP?

636


Does php support overloading?

579