joseylisa
15th of May 2002 (Wed), 08:33
Hi from Puerto Rico.
I,m a photographer and want to construct my own internet pages.
1. What is the difference of HTML and php?
2. I must learn both languages or php only?
I'm begining in this matter and any help and sugerences are apreciated.
Thanks
Pekka
15th of May 2002 (Wed), 08:53
joseylisa wrote:
Hi from Puerto Rico
Hi,
1. What is the difference of HTML and php?
Html is a method of describing content: it is HyperText Markup Language. Html gives you several simple commands to describe what things mean, i.e. you tell by coding html that this part of text is paragraph, that part of text is a header, this part of text is a quote and that there is a list. You can see html code if you view the source code of a www-page.
See http://www.gla.ac.uk/Clubs/WebSoc/primer/
PHP is a real programming language (a bit like C) and it is designed primarily for creation of dynamic websites with database integration. PHP sites write out html, so it's amost impossible to say if a website is created with PHP or by writing plain html, as the client (you) will see only html source PHP has created. To succesfully learn PHP you will need good html skills.
http://www.php.net/tut.php
To be able to build a website with html, you need a web server (you either build one, or rent it).
To be able to build a website with PHP, you need a web server which has PHP interpreter installed.
To be able to build a website with PHP and MySQL database, you need a web server which has PHP interpreter installed, and MySQL database engine installed.
2. I must learn both languages or php only?
If you use ready-made scripts, you don't have to learn either.
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.