How to learn Php....?Help me out.

Discussion in 'PHP' started by dirhotlink, Mar 23, 2011.

  1. #1
    Ply guys tell me what is the best way to learn Php.......i am really struggling with it.I find it very difficult to learn.....Thanks
     
    dirhotlink, Mar 23, 2011 IP
  2. HungryMinds

    HungryMinds Active Member

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    63
    #2
    First search "wamp server" or "xamp server" or "easy php" & download & then install.
    wamp server: http://www.wampserver.com/en/download.php
    xamp server: http://www.apachefriends.org/en/xampp.html
    easy php: http://www.easyphp.org/download.php

    Wamp:
    After installation, run wamp server, then you will see wamp server icon on you tray icon bar.
    Go to that path where you installed wamp server, where you will see "www" named folder.
    Open "www" & then open notepad and wite this simple php script.
    
    <?php
    print 'My First Php Project Is Now Working :)';
    ?>
    
    Code (markup):
    Now save this file under "www" folder & set new file name with ".php" extension. etc: "project1.php"

    Open you browser and write in url bar: http://localhost/project1.php
    Now created php file will be execute & you will se your text 'My First Php Project Is Now Working :)' there.

    Hope it'll help :)

    Otherwise:
    Goto Google & Search "Php Learning" or "Php Tutorials".
    I'm pasting here two PHP Learning sites.
    Hope it'll guide.
    If u got any error in your code, so please come here and start discussion on it.
    http://www.php.net/
    http://www.w3schools.com/php/
     
    Last edited: Mar 24, 2011
    HungryMinds, Mar 24, 2011 IP
  3. bledileka

    bledileka Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The best way to learn programming languages including scripting such php is PRACTICE, don't just get ebooks or guides and tutorials. Practice it bit by bit, take a sample project and play with it, try to understand some basic commands and functions, change, replace edit until you know exactly what a piece of code does in the script. Just an idea :)
     
    bledileka, Mar 24, 2011 IP
  4. josephgriffin

    josephgriffin Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have some PHP ebooks, I can email you some basic chapters if you want. Just PM me..
     
    josephgriffin, Mar 24, 2011 IP
  5. pagerank.links

    pagerank.links Peon

    Messages:
    138
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you should search in wamp server...it will useful..
     
    pagerank.links, Mar 24, 2011 IP
  6. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #6
    practice is best way how to learn programming. I never used any tutorial/book, just php manual and that's it. You just have to try, try and try
     
    G3n3s!s, Mar 25, 2011 IP
  7. dirhotlink

    dirhotlink Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks every body for such support.......and josephgriffin plz send me these chapters my mail address is
     
    dirhotlink, Apr 1, 2011 IP