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 to learn PHP ?

Discussion in 'PHP' started by kochee, Dec 27, 2008.

  1. #1
    Hi all,
    I want to learn PHP, but i don't understand how to start.
    Plz help me.

    I learned some languages like :
    C, C++ & HTML


    Thanks.
     
    kochee, Dec 27, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    search for good pdf ebooks on net

    you will need to install apache on your system

    Or you can use WAMP on windows

    there is a website w3school they have nice tutorials easy to follow on php

    Regards

    Alex
     
    kmap, Dec 27, 2008 IP
  3. kuzmanin

    kuzmanin Peon

    Messages:
    242
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    C and C ++ is closed to php
    HTML will help you a lot in page design

    I will recommend you to find some visual trainign courses
     
    kuzmanin, Dec 27, 2008 IP
  4. Amal

    Amal Guest

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Read this book >> ( Teach Yourself PHP in 10 Minutes ) >> www.samspublishing.com :)
     
    Amal, Dec 27, 2008 IP
  5. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #5
    if you want on my site i answer php questions , you can ask and a group of php people will be ready to answer them .

    php tutorials
     
    commandos, Dec 27, 2008 IP
  6. mdrobiul

    mdrobiul Peon

    Messages:
    186
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    WROX book is good. Read it. Very easy written of the book. Just install wamp server in your computer. Then read book. I suggest you to read only book for few days by chapter to chapter without practicing them on computer. Try to understand every page and move to next when you finish them. Dreamwaver 8 is much helpful for writing PHP script.
     
    mdrobiul, Dec 27, 2008 IP
  7. farad

    farad Peon

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Here we go ..
    Try to find out - what, why and how .. :rolleyes:
    <?php
    $myVar = "user";
    if($myVar == "user") {
    session_start();
    $_SESSION['user'] = $myVar;
    }
    ?>
    PHP:
    What I want to say is that you need to take a few examples and learn from them .. ;)
     
    farad, Dec 27, 2008 IP
  8. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #8
    To learn Php

    a)Install XAMPP on your system
    b)download manual from php.net or you can search through function list

    it's just like C and C++ only the functionnames differ here

    E.g strlen() for length of string
     
    Freewebspace, Dec 27, 2008 IP
  9. sampathsl

    sampathsl Guest

    Messages:
    861
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I've been an ASP.NET developer I knew nothing about PHP. I started learning PHP few months ago, now I can do it well. so believe me if you know programming its not hard to learn PHP.
     
    sampathsl, Dec 27, 2008 IP
  10. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #10
    I would start by following some basic tutorials. They are just a google away ;)

    Then I would go to www.php.net and start looking at the functions and try to make a few of your own small scripts.

    If you know languages like C++ you will find PHP easy.
     
    !Unreal, Dec 27, 2008 IP
  11. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #11
    Install Apache, PHP, and then read PHP manual.
    Some useful sites: php.net and w3schools.com
     
    thuankkk, Dec 27, 2008 IP
  12. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #12
    Sorry...

    But do you people even bother to search before you make such threads? This has been asked hundreds of times, and in the past fortnight I wouldn't be surprised it it was done 5 times.
     
    chopsticks, Dec 27, 2008 IP
  13. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #13
    Best way to learn coding is to do coding.
     
    Kaizoku, Dec 27, 2008 IP