tags:

views:

444

answers:

7

What are some of the best PHP tutorials/sites/resources/books or blogs which I can refer to learn PHP ?

+1  A: 

Buying some good books, reading some tutorials, viewing the PHP Docs and subscribing to some blogs. ;)

Nathan Campos
Which Books ?.........
Rachel
Take a look at the link.
Nathan Campos
got it.....................
Rachel
+1  A: 

www.php.net/tutorial

PHP's Documentation is one of the best for learning PHP and for reference purposes as well (for example, typing www.php.net/function_name will give you information on any php function, along with user notes).

Bruno De Barros
+3  A: 

PHP.NET has loads of really good examples and is the best place for learning about the api

Sometimes the documentation may leave out tiny bits of info and i often find W3Schools is perfect in these cases.

I highly recommend this book by Apress too: Objects, Patterns and Practise

In fact for PHP books i would recommend the PHP Security and Web 2.0 Applications in PHP books, all which are published by APRESS.

Andi
+7  A: 

This is what I recommended in a similar question(http://stackoverflow.com/questions/1566379/crash-course-in-web-development-phphtml/1566455#1566455):

Years ago I read PHP and MySQL Web Development ( http://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166/ref=sr%5F1%5F1?ie=UTF8&s=books&qid=1255528957&sr=8-1). I thought it was a terrific way to learn both PHP and MySQL, as it gives you real world examples and not just toy code. If I had to relearn PHP, I would definitely use this book again. Don't worry about the MySQL part of this book if you already know it, the majority of the book focuses on tying in PHP to the database layer.

I also suggest the PHP Cookbook (http://www.amazon.com/PHP-Cookbook-Adam-Trachtenberg/dp/0596101015/ref=sr%5F1%5F1?ie=UTF8&s=books&qid=1255529140&sr=1-1), but only after you've already learned the language. It gives you 'recipes' on how to solve common problems, and it too has been a terrific source of information.

If you prefer web tutorials over books, I suggest these sites:
Sitepoint (http://www.sitepoint.com)
NetTuts (http://www.nettuts.com)

Arms
I wouldn't read nettuts unless you want to learn things the wrong way.
The Pixel Developer
They've got some useful stuff, but I will agree that they have published some poor articles. I think it's still a good place to learn if you already know the language so you can avoid some pitfalls.
Arms
What about Beginning PHP6 by Wrox? Is it a good book?
Prasoon Saurav
I would suggest to use books rather than web tutorials. If you really like web tutorials then you should probably visit PHP.net ONLY. There are a lot of scripts out there and it's much better to learn from the source
Thorpe Obazee
A: 

Jump right in, write some scripts, and if you have any questions (or just unoccupied time...) Stackoveflow is your friend. :D

CrazyJugglerDrummer
A: 

Two good online resources for learning PHP:

Rachel
A: 

What worked for me was knowing C inside and out first! Although I guess that may not be the best advice for everyone!

dicroce