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. melol2

    melol2 Active Member

    Messages:
    511
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #21
    Its mostly variables. like this. (Not going to syntax check right now, in a hurry.)

    <?
    $lol = http://www.sandsword.com
    header('Location:$lol')
    ?>

    That would redirect to sandsword.com
    It would be just like typing.
    SEMrush
    <?
    header("Location:http://www.sandsword.com')
    ?>
     
    melol2, Nov 9, 2006 IP
    SEMrush
  2. raje_2000_21

    raje_2000_21 Peon

    Messages:
    309
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #22
    I learn it through w3schoos.com. They have very good tutorial. I had prior knowledge about asp so it was easy for me learn through websites.
     
    raje_2000_21, Nov 11, 2006 IP
  3. ramakrishna p

    ramakrishna p Notable Member

    Messages:
    1,798
    Likes Received:
    361
    Best Answers:
    0
    Trophy Points:
    240
    #23
    Screwing Up, LOL! another best way of learning PHP. I do not know much about PHP but I learnt HTML and CSS by viewing page source in notepad and understanding the way it has been coded. Right click on webpage select "View Source" from pop up menu. I advised many of my friends (who a interested in learning HTMLs) to follow this way. Now they all are able to make html websites.:)
     
    ramakrishna p, Nov 11, 2006 IP
  4. Andrei Savu

    Andrei Savu Guest

    Messages:
    229
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #24
    buy a book at first.
    then php.net
     
    Andrei Savu, Nov 11, 2006 IP
  5. orchycore

    orchycore Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #25
    I learnt just by using php.net. The comments at the bottom of function outlines are invaluable. They anticipate what you are trying to achieve, not just pedantic stuff.. I already could code perl so wasn't too hard. If you get an environment like Zend it will do nice syntax highlighting and pop up parameters for functions for you.
     
    orchycore, Nov 14, 2006 IP
  6. relixx

    relixx Active Member

    Messages:
    948
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #26
    Pfff, that's so old school. I downloaded it directly into my brain
     
    relixx, Nov 27, 2006 IP
  7. sctutor

    sctutor Member

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #27
    I also learn by trial and error.

    if you already have some basics in java/c/html etc it's a lot easier.
    A lot of trial and error...ok more errors...then it gets better.

    i can't really stand reading a think book on php

    james :)
     
    sctutor, Nov 27, 2006 IP
  8. nichevalue

    nichevalue Peon

    Messages:
    479
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #28
    I have learned what I need when I needed it. When I want to do something new I just Google for how to do it in PHP and see how others have done similiar things.

    It also helps that I have been programming in C++ for almost 10 years now (PHP seems to look a lot like C++)
     
    nichevalue, Nov 27, 2006 IP
  9. kashem

    kashem Banned

    Messages:
    1,250
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #29
    I have been developing application esp using visual basic and sql server. before using PHP i did some development using ASP and ASP.net , so things was not unfamiliar.

    When I need any help in PHP , i search web for tutorial or reffernce.
     
    kashem, Nov 27, 2006 IP
  10. StormForum

    StormForum Well-Known Member

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #30
    I am learning PHP & MySQL from a PHP & MySQL book.
     
    StormForum, Nov 27, 2006 IP
  11. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #31
    I primarily learnt it through trial and error, and looking through the source code of CMS's and BB's. It also helped reading lots and lots of tutorials on the internet and the php.net site.

    Previous knowledge of some java and some other languages based on C helped aswell.
     
    chopsticks, Nov 28, 2006 IP
  12. rootspot

    rootspot Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #32
    I've been doing php for about three or four years now. The secret is to find someone who is also very "into" development and try to team up and share knowledge. I had a php mentor basically -- and I started out by trying to develop a fairly complex CMS -- I made a lot of silly mistakes, and looking at the code now, ... wow, its a mess - but I learned all about the libraries, etc that are available from that project.

    btw, php.net is your friend. That site is awesome. Plus there is SUCH a large php community, you just need to read read read!
     
    rootspot, Nov 28, 2006 IP
  13. Evolv5

    Evolv5 Well-Known Member

    Messages:
    777
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #33
    I learned php from modifying existing scripts, and reading a book.
     
    Evolv5, Nov 28, 2006 IP
  14. PayItForward

    PayItForward Peon

    Messages:
    752
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #34
    Open some basic scripts and try to understand each line, if you don't know what it is doing, then look up the function on www.php.net or Google it until you know what that line is doing.

    Try to create some basic scripts of your own, even if you don't know where to start, just create a new file in Dreamweaver, and search Google/PHP.NET, take bits and pieces from other scripts/function examples to create your own. Test it out, fix any errors, and repeat until it works.
     
    PayItForward, Nov 28, 2006 IP
  15. mcdc2000

    mcdc2000 Peon

    Messages:
    157
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #35
    I find a lot of php tutorial at hotscripts.com
     
    mcdc2000, Nov 28, 2006 IP
  16. parusa619

    parusa619 Banned

    Messages:
    556
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #36
    In books, I learned PHP from installation to implementation
     
    parusa619, Dec 11, 2006 IP
  17. TVCokeCan

    TVCokeCan Peon

    Messages:
    1,208
    Likes Received:
    147
    Best Answers:
    0
    Trophy Points:
    0
    #37
    I dont think anyone here has learned php. Well I know myself I am always learning new things, new ways and faster ways. However I have started learning by online tutorials, and editing other peoples script. I made my first script this year, and now am creating a web search engine {however its not just php}
     
    TVCokeCan, Dec 11, 2006 IP
  18. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #38
    I was born with it.....
     
    krakjoe, Dec 11, 2006 IP
  19. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,217
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #39
    I'm teaching myself through an independent study at my school using online resources and books.
     
    Lpspider, Dec 11, 2006 IP
  20. ico

    ico Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #40
    I simply made a dummy project that will help me learn php, from a simple date manipulation then went to advance, also do allot of reading of php tutorials
     
    ico, Dec 16, 2006 IP