Thread: Learning PHP

Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0

    Thumbs down Learning PHP


    What is the best method of learning php by my own?

    I think if I get some small project ( only for practice) and try by myself how to do it then it will be easier to learn. Is there any place from where I can get those project?

    I also need some advice in this regard.

    Thanks.

    trnghosh
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Hi,

    why did you decide to learn PHP in the first place? Just for general knowledge? Or is there something you actually want to do? If it's the latter (which I suppose), then why not start with that?

    I don't know, but this "I'm looking for a random training project" always sounds strange to me. Shouldn't you have the interests and ideas? You'll learn most when you do real life projects that you actually want to use and not just training stuff.
    Last edited by Jacques1; November 1st, 2012 at 03:00 AM.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    62
    Rep Power
    4
    W3Schools - http://www.w3schools.com/ - will get you started, and if you want to learn PHP, learn HTML, CSS, JavaScript and SQL as well.

    Regards,

    Shaun.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Originally Posted by Jacques1
    Hi,

    why did you decide to learn PHP in the first place? Just for general knowledge? Or is there something you actually want to do? If it's the latter (which I suppose), then why not start with that?

    I don't know, but this "I'm looking for a random training project" always sounds strange to me. Shouldn't you have the interests and ideas? You'll learn most when you do real life projects that you actually want to use and not just training stuff.
    Thanks for the reply. Now why I want to learn php? I know to some extant html,css and previously worked on Flash. Now my problem is constant reading php/mysql books seems to help me in learning but I think real life project is something different. So I like to learn through project obviously small at the very first. Regarding interest I must have these otherwise I will not try learn this one. Now like to know the best way to learn php. I seek your advice in this regard.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0

    Wink


    Originally Posted by Shaun_B
    W3Schools - http://www.w3schools.com/ - will get you started, and if you want to learn PHP, learn HTML, CSS, JavaScript and SQL as well.

    Regards,

    Shaun.
    I have some knowledge in html/css. My problem is while reading books on php/mysql it seems that I learn something , but when I think any project I could not think how to get started. Simply one example:- I think of a quiz page with multiple choice question and result to be shown in the page after completion. I think there may be some example, but I like to do by myself. But could not get started and for that I put this question, how to proceed and take a start.JUST NOVICE QUESTION but shall be glad if you extend your expertise in these.
    Thanks for the reply.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    62
    Rep Power
    4
    Originally Posted by trnghosh
    I have some knowledge in html/css. My problem is while reading books on php/mysql it seems that I learn something , but when I think any project I could not think how to get started. Simply one example:- I think of a quiz page with multiple choice question and result to be shown in the page after completion. I think there may be some example, but I like to do by myself. But could not get started and for that I put this question, how to proceed and take a start.JUST NOVICE QUESTION but shall be glad if you extend your expertise in these.
    Thanks for the reply.
    Download XAMPP control panel as it will set up your machine as if it's a server. Test that it's working by entering localhost into your web browser, or enter 127.0.0.1, which should point to the htdocs folder in [path]/xammp - you can put your example PHP in there if that's the trouble you're having.

    Once you've got that working, have a look how you'd set up the httpd-vhosts.conf file and the hosts file in your Windows/System32/Drivers/etc/ directory.

    This all assumes that you're using a Windows 32-bit system of course.

    Have fun,

    Shaun.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    I have installed wamp in my windows environment. Now how should I proceed. Taking examples from the books or go for some other way?
    Thanks for the reply so far.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    62
    Rep Power
    4
    You could have a look at making a simple blog site in PHP interfacing a database. A fully-featured blog site will include a user log in and will allow editing entries to it etc.

    Regards,

    Shaun.
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Originally Posted by Shaun_B
    You could have a look at making a simple blog site in PHP interfacing a database. A fully-featured blog site will include a user log in and will allow editing entries to it etc.

    Regards,

    Shaun.
    Thanks. Let me see how can I improve myself.

    Thanks.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    62
    Rep Power
    4
    The tutorial that I found very useful is here. Read through it carefully as you'll probably find it useful.

    Regards,

    Shaun.
  20. #11
  21. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    Buenos Aires, Argentina
    Posts
    64
    Rep Power
    3
    I just loved Jason W. Gilmour's book PHP from Novice to Expert.

    It also explains about MySQL and many related topics including security in SQL/PHP.

    It's a must. It wasn't expensive in my country - where everything is really more expensive than it's real value.
  22. #12
  23. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Originally Posted by Shaun_B
    The tutorial that I found very useful is here. Read through it carefully as you'll probably find it useful.

    Regards,

    Shaun.
    Once again thanks for your help.
  24. #13
  25. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Originally Posted by MauroEldritch
    I just loved Jason W. Gilmour's book PHP from Novice to Expert.

    It also explains about MySQL and many related topics including security in SQL/PHP.

    It's a must. It wasn't expensive in my country - where everything is really more expensive than it's real value.
    Thanks. All of you are so helpful here !!

    Thanks.
  26. #14
  27. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    Buenos Aires, Argentina
    Posts
    64
    Rep Power
    3
    Originally Posted by trnghosh
    Thanks. All of you are so helpful here !!

    Thanks.
    You're welcome. I hated PHP when I was younger, because I couldn't find the proper learning resources.

    If you need a hand, feel free to ask me anytime you open a new thread on PHP.

    Regards!
  28. #15
  29. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Glad to hear it. Actually I tried to learn it from reading books and whenever I asked some one about the way how to learn it , it seems I made a wrong question. Really glad for your response.
    Downloaded the book you mentioned here and I will now try it.

    Thanks.
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo