Asked in PHP ProgrammingHTML
What are the advantages of PHP over HTML?
April 30, 2010 4:07PM
HTML - displays data. That's it. That's all it can and will ever do.
as for PHP, I'll list a few things that it's capable of:
-database interaction (add, modify, delete data. Alter database structures and more)
-Output dynamic contents. (ie, do different things according to the time of day, number of time the user has logged in, number of files in a directory, entries in database, etc.). And it's not just text and numbers either. It can generated images, output PDF and more~
-sessions and cookies (where website remembers you for a period of time)
-compressions and archives
and MUCH, MUCH more.