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 everyone learn php?

Discussion in 'PHP' started by motoxcr17, Nov 7, 2006.

  1. #1
    Im new to web programming in php, my experience lies mostly in flash websites. How did everyone learn php the easiest? On the web? Book? Class at the college? Im interested to know
     
    motoxcr17, Nov 7, 2006 IP
  2. duzins

    duzins Peon

    Messages:
    178
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I learned what I know by consistently screwing up my wordpress blogs, then moving on to more advanced apps like Joomla and SMF to screw them up too. LOL

    That's how I learned CSS and HTML too. I learn better by doing. WP code is fairly simple, so playing around with it is not too scary. The W3C Schools' php tutorials are good too. (as are their HTML and CSS)
     
    duzins, Nov 7, 2006 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    I learnt most from modifying/customizing existing scripts. I just started looking at the code and tried to understand it. It would probably be good to read a book or something that explains the basics. I can't recommend any really cause I didn't read any.

    A good startpoint might be this.
    http:// w3schools.com/php/php_intro.asp
    (Remove the space after the http:// I'm not allowed to post links)

    Also, if you see a function and you don't know what it does, search www. php.net for it. This website will help you a LOT.
     
    nico_swd, Nov 7, 2006 IP
  4. mani

    mani Peon

    Messages:
    679
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    its just very simple.. if you know html basics, you can easily understand php.
    go for w3schools, they have very basic tutorial on php...
    you can also go with zend.com 's tutorials as they are also quit easy..
     
    mani, Nov 7, 2006 IP
  5. pixel_boost

    pixel_boost Peon

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    al the things above plus: donwload from php.net the .chm manual. that will help you too.
    Good luck
     
    pixel_boost, Nov 7, 2006 IP
  6. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I bought a php book, skimmed it to get the basics, looked at existing scripts to try to dissect them, then made my own large scale applications and consulted php.net as I needed.

    having a friend who's learning / has learned the same language helps a ton too, when you get stuck.
     
    disgust, Nov 7, 2006 IP
  7. solutionsphp

    solutionsphp Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Your subject line is in the past tense: when DID you learn PHP. Can't say that I'm done yet! :) Books, php|architect magazine, forums, and plain old hacking around.

    ps. Keep some sort of anti-hair loss formula handy!
     
    solutionsphp, Nov 7, 2006 IP
  8. amaudy

    amaudy Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    1. From web search from Google.com, phpbuilder.com, php.net
    2. From many e-books.
    3. From php zealot blogs.
     
    amaudy, Nov 7, 2006 IP
  9. Henry187

    Henry187 Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I learned from php.net and from a book about PHP 5, ActionScript, and MySQL that I bought.
     
    Henry187, Nov 7, 2006 IP
  10. Crayz

    Crayz Well-Known Member

    Messages:
    708
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    120
    #10
    For html I use Frontpage, which makes life very easy.

    And how I learned PHP, I first started out with a phpbb forum while installing mods on it, I had to look through the code, find a line, and insert a portion of code into the area specified with many files. After doing this for a while, I learned the basics of php, and deal with it almost every day now, having to modify the way things looks, creating small scripts, etc.

    But I still only know basics of php :)
     
    Crayz, Nov 7, 2006 IP
  11. Litewebsite

    Litewebsite Guest

    Messages:
    26
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    A mix of the following have helped me a lot

    * Books (beginner to advanced).
    * Forum/s.
    * PHP manual (I'm reading it daily). It's an excellent resource.
    * I've also found it a lot easier to learn something when I have defined/set goal.

    Happy coding!
     
    Litewebsite, Nov 8, 2006 IP
  12. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #12
    Yeah, you should also give yourself some kind of homework. Say, okay, I want to do this or that, and start working on it. If you need help, ask someone. In a forum or a friend.
     
    nico_swd, Nov 8, 2006 IP
  13. kreoton

    kreoton Peon

    Messages:
    229
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #13
    kreoton, Nov 8, 2006 IP
  14. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #14
    i started with asp 1999, its not that hard to switch to php if you already know the basics. think a very good way to improve your skill is to read other peoples source code, compare with your own code, what you would have done instead and whos code does this given task better and why.
     
    falcondriver, Nov 8, 2006 IP
  15. skylark

    skylark Guest

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    The best way I find to learn a new language is to build an application that takes advantage of the language's ability. That way the excitement of discovering all it can do will keep you motivated. Like for instance, PHP is great at working with databases such as MySQL. Figure out a database driven site you'd like to build for yourself. With all the lessons you'll learn by the end of your project (some the hard way :)), you'll be up to speed in no time at all.
     
    skylark, Nov 8, 2006 IP
  16. motoxcr17

    motoxcr17 Peon

    Messages:
    325
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #16
    thanks for the input everyone, im bought the book "php for teens" lol i figured a teens book is about as basic as it gets. I will also try and get my hands on some code and work around with it.
     
    motoxcr17, Nov 8, 2006 IP
  17. GeoSEO

    GeoSEO Peon

    Messages:
    189
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #17
    That book will be fine to intoduce you into the basic. But with every new chapter try it on examples. That's the only way!
     
    GeoSEO, Nov 8, 2006 IP
  18. ArcticPro

    ArcticPro Banned

    Messages:
    1,273
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I don't know everything about PHP, but I do know a lot I think. I've learned from modifying scripts and such.

    I recently stumbled on a great programming publishing company and read some of one of their books and felt was very good at explaining everything.

    You might like these from the Wrox publishing company:
    http://www.amazon.com/Beginning-PHP..._bbs_sr_1/102-2356964-4450537?ie=UTF8&s=books
    http://www.amazon.com/Beginning-Apa..._bbs_sr_2/102-2356964-4450537?ie=UTF8&s=books

    When you get a little better:
    http://www.amazon.com/Professional-...ef=sr_1_4/102-2356964-4450537?ie=UTF8&s=books
    http://www.amazon.com/Beginning-Aja..._bbs_sr_3/102-2356964-4450537?ie=UTF8&s=books
    http://www.amazon.com/Professional-...ef=sr_1_5/102-2356964-4450537?ie=UTF8&s=books
     
    ArcticPro, Nov 8, 2006 IP
  19. motoxcr17

    motoxcr17 Peon

    Messages:
    325
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #19
    yes, thats how i learned html so easily some 10 years ago haha
     
    motoxcr17, Nov 9, 2006 IP
  20. klown

    klown Peon

    Messages:
    2,093
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I downloaded php into a pill and ate it
     
    klown, Nov 9, 2006 IP