1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I want to learn PHP, what is best resource

Discussion in 'PHP' started by mbmurray, Jan 23, 2008.

  1. #1
    I am a windows programmer, c++ and Delphi. But want to learn PHP, what is the best resource, online or book. Thanks.
     
    mbmurray, Jan 23, 2008 IP
  2. Brewster

    Brewster Active Member

    Messages:
    489
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Do a search on this forum for "learn php" - this question gets asked so often.

    Brew
     
    Brewster, Jan 23, 2008 IP
  3. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,825
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #3
    http://www.php.net is your best resources, from there you do know of all the basics, then Google to find the scripts and play around with it, practice makes perfect.
     
    wisdomtool, Jan 23, 2008 IP
  4. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #4
    I find php.net very confusing. Use a simple beginners tutorial like tizag.com
     
    tushardhoot1, Jan 23, 2008 IP
  5. krzyk

    krzyk Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would suggest to start with some kind of a book to have good foundation and then look at php.net

    Go to amazon and look for PHP and get a book that has many 5 starts, I checked now and probably PHP 6 and MySQL 5 for Dynamic Web Sites is the best one. (wowa, there is PHP 6 already?)
     
    krzyk, Jan 23, 2008 IP
  6. walkere

    walkere Active Member

    Messages:
    112
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #6
    I agree. php.net shouldn't be your first stop to learn php. It's a great resource for people that already know the basics of the language, but it's poorly designed for teaching you how to use it.

    As for a book, don't bother buying one. You'll quickly outgrow the book's narrative, and at that point a free resource like php.net is perfect.

    When I learned I used a freely available book - Practical PHP Programming. You can find the latest copy at http://hudzilla.org/phpwiki/. Work through that until you feel comfortable writing your own scripts... and then look to php.net or forums to fill in the gaps.

    Coming from C++ it should be pretty easy. There are some differences in syntax, but the concepts are all the same. I used to work with C++ too and found it a very easy transition.

    Good luck,
    - Walkere
     
    walkere, Jan 23, 2008 IP
  7. NRG

    NRG Well-Known Member

    Messages:
    218
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    140
    #7
    there ar a lot of e-books , examples on the net try search "learning php" on google :)
    and if you are programmer , i think it is easy to learn php for you ,
     
    NRG, Jan 23, 2008 IP
  8. xxKillswitch

    xxKillswitch Peon

    Messages:
    331
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can start with tizag.com, they have a good beginners guide to php. PHPFreaks.com also have quite a bit of nice stuff. You can also find tutorials at pixel2life.com which are good for seeing how people perform certain tasks.

    I have a ton of ebooks (some were free) that I've collected from around the net that I can send you if you PM me, they were the biggest help for me.
     
    xxKillswitch, Jan 23, 2008 IP
  9. qwertie

    qwertie Banned

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I found phpvideotutorials.com very helpful. It's a nice way to learn watching someone else do it :)
     
    qwertie, Jan 24, 2008 IP
  10. sharqi

    sharqi Guest

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I found this site OK, but the guy who presents it does talk a lot of irrelevant nonsense. Its 50% PHP, 50% nonsense.
     
    sharqi, Jan 24, 2008 IP
  11. qwertie

    qwertie Banned

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Haha i would say 80% PHP, 20% nonsense. He's just a friendly guy thats goes off on one.
     
    qwertie, Jan 24, 2008 IP
  12. sharqi

    sharqi Guest

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I agree he is a friendly guy, but going off one one irritates me alot.

    I already am decent with PHP and watched them for inspiration on creating my own tutorials - maybe thats why my boredom threshold was very low.
     
    sharqi, Jan 24, 2008 IP
  13. castdead

    castdead Active Member

    Messages:
    204
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #13
    I'd start with some paper in your hands, I did it also that way.

    Php actually was the first language I learned apart from some messing in Pascal and lua. First thing I did was grab a good book and write pseudo and php code next to eachother to get the basic programming logarithm.
     
    castdead, Jan 24, 2008 IP
  14. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    w3schools.com can be good to start learning php.
     
    webexpert, Jan 24, 2008 IP
  15. tarponkeith

    tarponkeith Well-Known Member

    Messages:
    4,758
    Likes Received:
    279
    Best Answers:
    0
    Trophy Points:
    180
    #15
    i second tizag, great resource...

    handy for quick reference as well :)
     
    tarponkeith, Jan 24, 2008 IP
  16. sharqi

    sharqi Guest

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Also its worth looking up lynda.com tutorials. They are expensive but I am sure enterprising people can find "discounted" versions if they look hard enough!
     
    sharqi, Jan 25, 2008 IP
  17. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #17
    kmap, Jan 25, 2008 IP