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 'PHP' started by scutari, Jun 1, 2008.

  1. #1
    I have read lots of articles at w3schools and tizag about php but still can't use it to make scripts?

    could you give a method on how to properly learn php?
     
    scutari, Jun 1, 2008 IP
  2. Agent_Smith

    Agent_Smith Well-Known Member

    Messages:
    890
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Just try to create a basic script you like.

    You'll learn along the way.
     
    Agent_Smith, Jun 1, 2008 IP
  3. mehmetm

    mehmetm Well-Known Member

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #3
    you can read e-books for learning the syntax and basic rules of PHP.

    If you already know that, I advise you to search for the some basic PHP projects such as in this url

    http://www.sitepoint.com/subcat/php-tutorials

    and also php.net site is a good reference.
     
    mehmetm, Jun 1, 2008 IP
  4. graham23s

    graham23s Well-Known Member

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #4
    video tutorials helped me a lot, and a stack of books i have here, pm me if you need any videos i find they are the best way to learn i spent a fortune on them but worth it lol

    Graham
     
    graham23s, Jun 1, 2008 IP
  5. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well I found this killerphp.com site with video tutorials. I will check this in details. Sorry graham i cannot afford paying.
     
    scutari, Jun 1, 2008 IP
  6. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Basically you learn by realizing the software you run on your website no longer works, and the company that makes it is defunct, so you either fix it yourself or give up.....
     
    ascensions, Jun 1, 2008 IP
  7. alecs

    alecs Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #7
    Just like most things in life you have to really like what you are doing.
    With programming languages try to put everything you learn into practice. If you just keep reading on and on it will get boring at some point or you will loose focus. When I started learning PHP I made a simple website. As time went by, I learned new things and eventually had to rewrite the website script until it caught up with my new php skills. (I did this at least three times)
     
    alecs, Jun 1, 2008 IP
  8. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #8
    try php tutorials, start with simple examples from php help and try to understand them, then try to create your own scripts. you cannot learn in a very short time, but you can increase learning performance with time and dedication
     
    nebhotep, Jun 2, 2008 IP
  9. redSHIFT

    redSHIFT Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I learned by working on a project which is how I learn all new languages now.

    For example, you could try and make a calculator (would teach form handling, data validation, math operations etc.) or a calendar (date/time, UI).

    One of the easiest scripts you could make is a contact form that sends an email.If you get stuck there are usually plenty of tutorials on the web to help you along, if not then you might be trying something a little too advanced. I know there are many contact form tutorials for example.
     
    redSHIFT, Jun 2, 2008 IP
  10. demonator09

    demonator09 Peon

    Messages:
    235
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    exactly!!
    you will learn it when you practice yourself to build one which you need.
    and as the time passes you will learn more about it.

    you can even try to understand other readymade php scripts.
    they can help you a lot.
     
    demonator09, Jun 2, 2008 IP
  11. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I thing the best answer should be: learn the concept. If I do not understand the concept of all of php I can build a nothing:). I am working on some video tutorials and create a simple news submit or article submit, call it whatever.
    You can check and help me with something:
    How to save it? should I use MYSQL for saving that on a page?
    Check here it is experimental:

    scutari.freevar.com/pr.php

    Another thing, should i install php on my computer to make experiments cause I need to upload files constantly?
    Do I need internet then(if I install php on my com)?..
    thanks..
     
    scutari, Jun 2, 2008 IP
  12. Aequitas

    Aequitas Guest

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    You can try http://www.phpfreaks.com

    Sorry I cant post live links in the post yet.
     
    Aequitas, Jun 2, 2008 IP
  13. softvision

    softvision Peon

    Messages:
    146
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I learned programming languages by reading books.
     
    softvision, Jun 3, 2008 IP
  14. xlcho

    xlcho Guest

    Messages:
    532
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #14
    First you read, then you read some more, and finally - you read more, more and more :) There's no other way. A good programmer cannot stop reading and learning more, cause he won't be 'good' if he stops.
     
    xlcho, Jun 3, 2008 IP
  15. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #15
    Yes, use a database. It's the cornerstone of almost all things web related. Having Apache/PHP/MySQL on your computer is a good idea, you will be able to work much faster. Plus you can get a site to "live" status and work/learn on your home setup. WAMP is the best option to get everything you need in one package, if you are using windows that is.

    Good luck
     
    shallowink, Jun 3, 2008 IP
  16. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #16
    If i install wamp do i need internet to make experiments?
     
    scutari, Jun 3, 2008 IP
  17. NuLLByTe

    NuLLByTe Active Member

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #17
    No you don't.

    Also, grab a good PHP & MySQL book like PHP5 & MySQL Bible :)
     
    NuLLByTe, Jun 3, 2008 IP
  18. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #18
    really? i just need to install it on my com and make experiments all day long..thats cool thanks a lot for sharing.
     
    scutari, Jun 3, 2008 IP
  19. xlcho

    xlcho Guest

    Messages:
    532
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Yes, you don't but its a lot more easier if you do. Just a single book cannot compare to googling the stuff you can't understand or want to learn. Asking in forums helps a lot too, as you can see. My advice is having internet while trying to do something, cause when it's not working you can easily give up if you can't find out whats wrong..
     
    xlcho, Jun 3, 2008 IP
  20. Narrator

    Narrator Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #20
    Just keep following along with tutorials and php.net is also great resource.
     
    Narrator, Jun 3, 2008 IP