#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    How to learn PHP?


    I want to learn PHP so please suggest me which is the best way to learn PHP?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2003
    Posts
    3,505
    Rep Power
    594
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2009
    Posts
    677
    Rep Power
    7
    And this is an excellent site for referencing functions with examples. Not just PHP, but just about anything...

    http://www.w3schools.com/

    Comments on this post

    • Jacques1 disagrees : Don't use w3schools: http://w3fools.com/
  6. #4
  7. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Originally Posted by Triple_Nothing
    And this is an excellent site for referencing functions with examples. Not just PHP, but just about anything...

    http://www.w3schools.com/
    No, this is not a good resource. They're full of bad practices, false information and bad advice. See W3Fools for an in-depth explanation of why this site should neither be used for learning nor as a reference.

    Unfortunately, they've managed to gain some popularity by tricking people into believing they're are an "official" site by the W3C. They are not! It's a private site that seems to be mainly focused on selling "certificates", not so much on spreading knowledge.

    What I would suggest is buying a good old book (like Learning PHP, MySQL, JavaScript, and CSS by O'Reilly). And the documentation at php.net is a good reference for specific topics. If you're looking for an online tutorial, see the Quakenet/#php Tutorial

    Whatever you do: Think for yourself and use multiple sources, don't just copy and paste other peoples' code. The internet is full of sh*tty PHP code with outdated features and unsecure practices, so it's better to actually learn the language and program yourself.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Ithaca
    Posts
    68
    Rep Power
    2
    I recommend Matt Zandstra's two PHP books. For absolute beginners, the Sams Learn PHP in 24 hours should be able to make you an intermediate skilled programmer by the time you finish reading all the chapters. Once at this level, you should read the other book by Zandstra: PHP Object, Patterns and Practices. If you truly understand everything in these two books, you will be close to advanced programmer.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Location
    USA
    Posts
    33
    Rep Power
    0
    PHP is an open source and it's very easy to learn online. There is an official website of PHP . "www.php.net" Use This site to learn PHP in proper manner. Also You can go through w3schools.com There is lots of material which will helpful to you.

    Comments on this post

    • Jacques1 disagrees : http://w3fools.com/
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    San Jose
    Posts
    9
    Rep Power
    0
    Before you start learning PHP, it's probably a good idea if you have at least some HTML knowledge. There are so many free tutorials available on internet. You can easily learn PHP from those.
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    11
    Rep Power
    0

    Regarding learning php


    Go with www.php.net where you can learn whole php in a simple manner. Furthermore, Learn about Html and CSS, which are helpful to you.
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,031
    Rep Power
    535
    For a total newbie, I would recommend PHP in Easy Steps by Mike McGrath. It is very short and will get you up and going in no time.

IMN logo majestic logo threadwatch logo seochat tools logo