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.

How did you learn PHP?

Discussion in 'Programming' started by Mailman55, Jul 24, 2008.

  1. #1
    Hi,

    I already know HTML, but I am looking into learning PHP, how do you recommend I do so and what worked for you?
     
    Mailman55, Jul 24, 2008 IP
  2. zyklon

    zyklon Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    I bought a book. Any book will do, depends on how complex you want it to be, and how much coding you will be doing.
     
    zyklon, Jul 24, 2008 IP
  3. dispyfree

    dispyfree Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I've learned it wit ha book too. I don't like tutorials so much ^^


    dispy
     
    dispyfree, Jul 24, 2008 IP
  4. xcelent88

    xcelent88 Guest

    Messages:
    662
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You will find good tutorials on google. Try to search with these keywords: php beginner lessons. I also recommend you Php lessons in videos ;)

    cheers,
    xcelent88
     
    xcelent88, Jul 24, 2008 IP
  5. wierdo

    wierdo Well-Known Member

    Messages:
    1,646
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Tizag.com is where I learned. I'm now competing against them for tutorials now though. :rolleyes: No PHP ones on my site yet though.
     
    wierdo, Jul 24, 2008 IP
  6. Cri2T

    Cri2T Peon

    Messages:
    104
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://www.webdesign.org/

    Is where I learned most of mine. Books weren't meaty enough for me, they'd start with the

    $variable = "this is a variable";

    bullcrap and then they'd go into explaining why it was a variable, and who the first person in the world was to create a variable and blah blah blah. I got fed up, slammed the book shut, and started reading advanced tutorials and trying to rip them apart and piecing them back together (much like taking apart a toaster and putting it back together as a young kid)


    Though, i do believe that it depends souly on your learning style. Do you memorize stuff from reading? or do you like to get your hands dirty?
     
    Cri2T, Jul 24, 2008 IP
  7. nabz245

    nabz245 Well-Known Member

    Messages:
    677
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    110
    #7
    If you know any other programming languages it shouldn't be a problem(HTML not included as that doesn' really count).
    However, php.net has some great examples on how to use each function.
     
    nabz245, Jul 24, 2008 IP
  8. crichton1234Fsj

    crichton1234Fsj Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    dont go by books
    it wont help u
    google is ur best companion
    take a project or some exercise
    and begin to work on it
    learn wat s needed for that project
    soon u ll master the most impo concepts
     
    crichton1234Fsj, Jul 25, 2008 IP
    qprojects likes this.
  9. Vonman

    Vonman Peon

    Messages:
    560
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I learned by taking apart my site and putting it back together, changing different things here and there. I just know the basics though, haven't taken too much time to learn it.
     
    Vonman, Jul 25, 2008 IP
  10. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #10
    ^ BING!

    Learn the basics (syntax) of PHP on a website, such as php.net or Tizag.com. Then do what the guy above said.

    Also, looking at existing code, trying to understand and trying to modify it will help you a lot (this is pretty much how I learned). I didn't read a single book...
     
    nico_swd, Jul 26, 2008 IP
    qprojects likes this.
  11. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #11
    I learnt from tizag.com and refer to php.net when I need to figure something out (once you have the grip on syntax, learning new functions is cinch).
     
    blueparukia, Jul 26, 2008 IP
  12. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I learned through a range of things. E-books, google, random websites. I think the easiest way for you to do it though is to do some simple tutorials so you can see how things are used. It took me quite a while to get my head around php but once you get to a certain point, it becomes a very useful language.
     
    garrettheel, Jul 26, 2008 IP
  13. DiZi

    DiZi Member

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #13
    How I learned: Through thoroughly reading php's online guides and through trial-and-error.
     
    DiZi, Jul 26, 2008 IP
  14. Boxerman

    Boxerman Peon

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    i learnt via w3schools.com then moved onto youtube!

    they set myself targets etc..
     
    Boxerman, Jul 26, 2008 IP
  15. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #15
    you should start with
    w3schools.com
     
    A.G, Jul 28, 2008 IP
  16. sami1255

    sami1255 Well-Known Member

    Messages:
    835
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    125
    #16
    i really dont know why anybody not mentioned about

    Lynda.com.PHP.with.MySQL.Essential.Training

    the video tutorial is the best i ever seen.. the guy will teach you up til developing your own small CMS.. :)
     
    sami1255, Jul 28, 2008 IP
  17. acdc236

    acdc236 Peon

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I will give you one on one teach if you need it. Check the link in my sig
     
    acdc236, Jul 29, 2008 IP
  18. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #18
    ^ Can I have my time back if your promise of making thousands a month fails?
     
    nico_swd, Jul 29, 2008 IP
  19. Limotek

    Limotek Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Couldn't have said it better. Books are great to teach you the basics but really the best way to learn is to get stuck into some example projects.

    I wouldn't waste money on books when google is a far more comprehensive resource (and free!).
     
    Limotek, Jul 29, 2008 IP
  20. SemihG

    SemihG Active Member

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #20
    honestly I think any online tut for coding is garbage, they leave too much out. I would say either learn from video tuts or buy a book like some of the other people suggested.

    Don't buy php for dummies, buy a book from a well known PHP professor
     
    SemihG, Jul 29, 2008 IP
    qprojects likes this.