Quote:
|
Originally Posted by Xav
What's the best way to learn?
|
Get a great book (or internet resource) and start reading. While you're reading you shall think about the things you learn, and if you once think, "Hey! Why's that?", then go back in the book, and see if the question has already been answered previously.
Also, you will have to make some examples, and actually use what you have learned, in order to successfully continuing without forgetting what you previously read.
Quote:
|
Originally Posted by Xav
How is PHP integrated into webpages?
|
First of all, you'll need a server. This server will listen for incoming connections (also called clients) Every time a client is connecting, it will be serviced by the server, which is done in various ways. If the client is calling a PHP-file, the server will take the PHP-file and pass it to a PHP-interpreter. The PHP-interpreter will interpret the sourcecode, and return the generated HTML. The HTML will then be given by the server to the client, and the client will be able to read the document.