Best way to learn PHP?

Discussion in 'PHP' started by MediaHustler, Dec 8, 2006.

  1. #1
    Ok well I want to learn PHP pretty bad, all I know how to do is include. :(

    I bought the "PHP and MySQL Web Development" book from Amazon.com, and like I told someone before it was like learning your 123's then going straight into trigonometry.

    How did you learn? Any ideas?
     
    MediaHustler, Dec 8, 2006 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
  3. infopages

    infopages Well-Known Member

    Messages:
    780
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    108
    #3
    another thing is media that practice and practice so do as much practice you can do and you will surely be perfect
     
    infopages, Dec 8, 2006 IP
  4. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
  5. thedark

    thedark Well-Known Member

    Messages:
    1,346
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    168
    Digital Goods:
    1
    #5
    in the book you will have a lot of examples, read the content carefully and test the examples, don't copy and paste, just rewrite everything.
     
    thedark, Dec 8, 2006 IP
  6. adolix

    adolix Peon

    Messages:
    787
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Media Hustler, I have a very good PDF book for PHP. It is the only resource I used to learn PHP (and php.net of course). Send me a PM and tell me your email... I will send it to you when I get home... if you want it, of course :)
     
    adolix, Dec 8, 2006 IP
    ramakrishna p likes this.
  7. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #7
    Oh in a heart beat!

    Sending PM now.
     
    MediaHustler, Dec 8, 2006 IP
  8. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Get an account with a free or cheap webhost (nearlyfreespeech.net is good) and play around, following a tutorial. The one I learnt from is at www.tizag.com. Give yourself an aim (such as to program a site) and then work towards it a bit everyday!
     
    matthewrobertbell, Dec 8, 2006 IP
  9. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #9
    agnivo007, Dec 8, 2006 IP
  10. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I think so... you should learn PHP from a person who knows it throughly...
     
    weknowtheworld, Dec 8, 2006 IP
  11. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #11
    Get a -AMP server on your computer, then get a free script that you like or are interested in and install it. Then, start tweaking it, and read tutorials on specific things you want to learn. Also, I used w3schools.com to learn the basics at the same time. It helps if you already know other programming languages.
     
    Austars, Dec 8, 2006 IP
  12. Millar

    Millar Peon

    Messages:
    334
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I would reccomend downloading already made scripts from places such as hotscripts.com and then taking a look at the code, see which bits do what, check stuff you don't know on php.net and try and make duplicates of the scripts, over time, you will pick up functions and methods around problems and anything you don't understand, take a look at the php.net site.
     
    Millar, Dec 8, 2006 IP
  13. parusa619

    parusa619 Banned

    Messages:
    556
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Books may help, if your asking for basic learning. try www.w3schools.com

    If you have surpass the basic learning, try forums. :)
     
    parusa619, Dec 11, 2006 IP
  14. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #14
    I think taking a class would deffinately be the best way to learn php.
     
    Lpspider, Dec 11, 2006 IP
  15. adsexper

    adsexper Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I think that it really depends on what is your level of programming. There are some basics things that only a class or a book (IF YOU READ THE IMPORTANT PARTS not just the examples :) ) can teach you. Sounds like you have seen some examples already and if you feel like you can't start from there, you probably need to take a class to get a good base.

    good luck
     
    adsexper, Dec 13, 2006 IP
  16. ThisGoatStarves

    ThisGoatStarves Peon

    Messages:
    361
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #16
    The truth.

    Also don't be afraid to make mistakes. There isn't exclusively a right way to program in PHP. It's developing a method that is effective for you and what you want to achieve.
     
    ThisGoatStarves, Dec 13, 2006 IP
  17. Winsock

    Winsock Peon

    Messages:
    60
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I would suggest trial and error, the only problem with that is if you've never programmed in any other language it might be a rough start.

    I would try some small samples of code, play around with them, break them, change them, figure out how some of the basics work like loops and common functions, working with forms, etc. and go from there.
     
    Winsock, Dec 13, 2006 IP
  18. ThisGoatStarves

    ThisGoatStarves Peon

    Messages:
    361
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I did something similar with Wordpress when I was first learning the language. Helped me out a lot. And their style of coding rubbed off on me quite a bit too :)
     
    ThisGoatStarves, Dec 13, 2006 IP
  19. Krownet

    Krownet Peon

    Messages:
    42
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Grab a simple PHP script and open your web browser to www.php.net.

    Like Winsock said, play around with it and see how it works. If there is a function there that you need to look up, enter it into php.net (go simple, as in a script that has no functions just linear top to bottom).

    You get a since of how things work and what doesnt work. Great way to learn any scripting language :)

    Cheers,
     
    Krownet, Dec 13, 2006 IP
  20. stndra

    stndra Peon

    Messages:
    150
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #20
    pse tell me the php bb.//
     
    stndra, Dec 14, 2006 IP