Page 2 of 3

Posted: Wed Jul 13, 2005 12:56 am
by Max
I think you should all learn what is PHP.
Comparing PHP and XHTML is like comparing stones and walls :
  • You can use stones to make walls.
    You can use stones to make something else.
    And you can use something else to make walls.
  • You can use PHP to make XHTML (the most current use).
    You can use PHP to make something else (like images, text, various XML, PDF...)
    You can use something else to make XHTML (static XHTML, or other server-sides scripts like JSP or ASP)
PHP is a server-side language.
XHTML is a description language, used on the client-side.
You can't compare them.

Posted: Tue Jul 19, 2005 4:11 pm
by TreeShadows
so whats the difference between xhtml and html?

thanx

Posted: Wed Jul 20, 2005 4:17 am
by rabara
I Like Html Than PHP
Because I Know How To Use Html

Posted: Wed Jul 20, 2005 3:12 pm
by Max
TreeShadows wrote:so whats the difference between xhtml and html?
HTMl is based on SGML, a old and heavy markup language, replaced nowdays by XML.
XHTML is just the translation of HTML from SGML to XML.

Posted: Wed Jul 20, 2005 3:51 pm
by korsaan
Your replay is great Max

and in my opnion php is better that xhtml

Posted: Sun Sep 11, 2005 2:27 pm
by ELMOHTARF
in my opnion that

php is the best

Posted: Wed Oct 05, 2005 1:00 am
by mohumben
I was going to say, "you can't compare apples with oranges", but what you said is much better, Max :D!

darkeyes: You can use CSS in HTML as well.
The speed the site loads depends on the file size and scripts used (Javascript); using XHTML won't decrease its load time too much.

Posted: Sun Oct 09, 2005 10:31 am
by D0M1N0R
NO WAY, PHP rules

Posted: Wed Feb 01, 2006 3:16 pm
by al-m3skr
You can never compare PHP with XHTML Man
PHP Is more easy to implemnt and more flixeble..

If you are intending to learn one, take my advice: PHP is the one..

Posted: Wed Feb 01, 2006 9:12 pm
by mzikawy
i think php is more peter than xhtml