----- Original Message -----
From: "Daniel Gladstone"
I am been working with HTML for a few years now. A friend of mine
suggested that I could improve my web pages by adding PHP scripts to
it.
I went out to Amazon.com to find a good book and when I read some of
the clients reviews, they cited that most of them had errors, was not
written for a beginner, or you had to read between the lines.
Can anyone recommend a good book or an on-line resource that will help
me learn how to add Dynamic content to my web sites using PHP?
Any help for a newbie, would be greatly appreciated
Thanks - Daniel -
-------------------------------
Hi Daniel,
It would be helpful to know if you have some experience with
any other language.
I read 'PHP Bible' which was really wordy and vague in places. After reading
this book I realised that all I needed to do was to learn the syntax,
operators and data types of PHP and look up the rest on php.net
Although PHP can have objects (or classes) it really isn't an object
oriented language. It is more like a symbolic interpreted language with some
(annoying) syntax rules.
When you start, your biggest hassle will be getting the comas semi-colons
and curly brackets in the right place. Data types are loose so you also need
to know about type coercion. Scope is simple and the best part is that it is
cross platform compatible by the most part. PHP is a stream based language.
Even if you have learnt a language like BASIC, I could write you one page to
read and from there you will know what to look for in a book.
Once you have a grasp of PHP you are not really that much closer to dynamic
content. You will need to learn mySQL (which is a topic of this group).
PHP 5.x.x is current so don't buy a book based on PHP 4.x.x as it old news
now. PHP 4.x.x and 5.x.x are a fair bit different but I doubt it is now
worth while to learn the compatibility issues between the two.
If you have any previous programming experience then we can get you well on
your way by telling you what is different and pointing you to a good
reference source rather than a tutorial.
Thanks, Rob.
and Welcome to the group.