Hi Ardra, PHP is a program language, HTML is mark language. PHP can do the thing as HTML can do. But html can't do the thing as PHP can do.
These are totally different languages and cannot really be compared. The two are used to compliment each other, not to replace. HTML is a client side language that shapes what the user sees. Used for structuring your data on the page. PHP is a server side language and as such is what is used to generate that data.
html is a simple language with lots of limitations. php is a much more complex programing language. if you are familiar with html keep going with that as html can generally be used in combination with php, and it will help you some. php also is used in combination with a database such as mysql which can be edited with online software such as phpmyadmin...
to answer your question as specified - PHP! but like whats been mentioned here your comparing apples to oranges... if your thinking about what to learn - then i would suggest get a basic understanding of html and css - then move on to php and mysql this is a great tutorial resource... http://www.tizag.com/
PHP is a stronger language. It is a server side language that allows you to make much more customizable sites. However, that being said, a website cannot be displayed without HTML
html is always need no matter what you use to display your web based content if you use php or c# you still use html to display the data the user sees. Php is a language that will allow you to create and use variables with login and easily connect to a database to produce dynamic data that is then feed via an echo statement in html to the browser php is used to create dynamic html so you will use php or c# or some language to assist with the logic and database but these languages create data that should be out putted in html for instance php: $dollar = "dancing"; $late = "8's"; echo "<font size='3' color='red'>$doll $late</font>"; you see html is used in the php to hold the variable which create the following html output <font size="3" color="red">dancing 8's</font> this is then interpreted into by the browser to read "dancing 8's" in red with a size of 3pt.
Php is server side language which helps to integrate Database.HTML is rather static and simple webpages.
Hello...... As a beginner to learn web designing i would recommend you HTML and If you are aware with web designing and have programming knowledge then go to PHP..............
You might want to check your PHP there. Anyway, none of these posts are remotely educational. HTML is a markup language, used to generate content by your browser. The client requests a page from the server and the server sends the HTML to the browser - in short. PHP is (not a programming language) a server-side scripting language to provide functionality for your website. HTML and PHP can be used together in a php file to create dynamic websites. Hope this helps!
Whether a language is a scripting language or not does not determine whether it's a programming language. That's old school thinking. PHP is a programming language.
But when you've been using PHP as long as I have, "PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML." - PHP.net comes natural.