Check all the links in the "programming resources" post in this forum, it got alot of good stuff!
Other then that.. www.w3schools.com is good..
Even though some ppl dont like it too much I got alot out of viewing some PHP videos.. its some guy who does PHP tasks while explaining the whole thing, from very simple to sql and making a simple forum. Link: http://www.toptentshirts.com/php-guide/php-guide.php
Here is the thing with all php tutorials and books that I do not understand. They all explain how to learn php the exact same way, show examples on how to echo "Hello world" and other basic tasks, but when I look at other php scripts they contain codes and arrangements that I have never seen in any php book or tutorial.
I also do not know when or where to use the examples that tutorials provide... sure I learned what the else if statement does, I learned how to group a list in a array, great now what do I do to get started with my own script? How do I make a script that allows people to upload files, and display all of them on a page and create new pages and accounts with security to prevent hacking?
No php tutorial that I have found explains how to do that, and I have been trying to learn for years now. I thought that I was a smart person but after trying to learn php it just seems impossible because every book is the exact same and they all only show you how to create a guestbook or some other crap that I will never use. I know all of the basic functions but the complex things seem impossible to me.
Originally posted by lexington Here is the thing with all php tutorials and books that I do not understand. They all explain how to learn php the exact same way, show examples on how to echo "Hello world" and other basic tasks, but when I look at other php scripts they contain codes and arrangements that I have never seen in any php book or tutorial.
I also do not know when or where to use the examples that tutorials...
The basics are learned in the tutorials. You should take it upon yourself to then look at other scripts, and mess around with them. Look at functions and say, "Well I know this works this way, but what happens if I change this variable?" Also if you ever see a function that you don't know what it does simply do http://www.php.net/<unknown function>
I'd recommend Build Your Own Database Driven Website Using PHP & MySQL (sitepoint.com/books/phpmysql1/) and The PHP Anthology (sitepoint.com/books/phpant1/), both published by SitePoint. The former is a straight-forward and easy-to-follow tutorial; the latter is a slightly more complex book about best-practice object-oriented techniques.
I also like PHP and MySQL Web Development (amazon.com/exec/obidos/tg/detail/-/0672317842/ref=pd_sxp_f/002-2175972-7523221?v=glance&s=books). It demonstrates some poor code, unfortunately, but it'll teach you a lot.
I agree with dbgohan, books were an invaluable resource for me when I was first learning PHP. The one I found most useful was the PHP Bible. It had great examples and didn't waste my time with meaningless anecdotes or unrelated ideas.
I also found phpbuilder to be a great resource as well as the examples found at the zend web site's developer zone.
Also, if you code in windows, don't bother with php.net. Download the windows chm help file ( found at php.net ) and use it to look up functions you don't know. It will save you a lot of time.