PHP is server-side:
Your browser doesn't understand the pages it is
viewing are at first written with PHP. All it
obtains is an HTML page - as complex or as simple
as you want.
PHP is HTML-embedded:
A PHP page can be merely an HTML page with a little
PHP scattered here and there (we'll see how).
The PHP bits are parsed by the server and they
will be mainly used to produce more HTML code.
The HTML code on the page is sent directly to
the browser.
PHP has similarities with other programming
languages:
C and Perl are two of them. In my case, learning
a bit of Perl really helped me get started and
understand what PHP could do for me - and how
it worked.
|