PHP and HTML both have really good features to create interactive web pages for any website.
if u make a dynamic site than PHP is best for it and if u make a simple static content site then html is goot for it
PHP and HTML both have really good features to create interactive web pages for any website.
I'd love to learn a bit more PHP so I could build my own sites from scratch. For now, I just rely on Joomla to build the code for me haha.
But in answer to your question, both languages work quite well with each other and as JosephRoger has posted, PHP would be more ideal for a more interactive website. If you are building a small website for just advertising a business or something similar, HTML may be the way forward as no one would need to log in to view it.
Hello... Why do you say that html is ONLY ! for static ? RSS is static element ? You may paste java script into html code and RSS is working (dynamically)
Sometimes, this is more problems and more job to be done but, I prefer html and xhtml code.
Yeaaaah...of course, if somebody build a site where, footer get half of page, you better use php![]()
you will always need html.
If you´ve got dynamic elements, you should use PHP.
If it's only a few pages and is static use html. You can also use javascript to make it more dynamic and even connecting to a database can be done with jquery without the need to reload the page which you have to do with PHP on its own.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks