Your Ad Here Your Ad Here
Results 1 to 4 of 4

Thread: Help with PHP please

  1. #1

    I recently began getting actually interested in learning PHP, a much easier way of editing my site, but I'm at a lost on how to start.

    Of course all the codes that major computer programming sites provide are much too confusing for me to try and figure out what exactly is this and that.

    If any one could help me, even if it is just a site, that'd be awesome.

  2. Internet, Programming and Graphics   -   #2
    What exactly did you need help with?

  3. Internet, Programming and Graphics   -   #3
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    24,069
    What do you want to start with?

    Basics:
    Start code with <?php and end with ?>.
    End a line or function with ;
    ECHO is to print text and variables to screen example:
    PHP Code:
    <?php
    echo "My name is " $variable ".";
    ?>
    A variable start with $ sign, example:
    PHP Code:
    <?php
    $variable 
    'rossco';
    ?>
    A conditional (if) makes code between curly brackets ({ }) only run if a condition is meant, example:
    PHP Code:
    <?php
    if ($variable=='rossco')
    {
    echo 
    "Variable is rossco";
    }
    else 
    {
    echo 
    "Variable is not rossco";
    }
    ?>
    That is a few basics to get you started, or you can tell me what you want and I will start it for you.

  4. Internet, Programming and Graphics   -   #4
    You need to get more specific, but some sites that come to mind atm:

    Getting started
    Php.net -binaries, documentation, manuals, etc
    Phpbuilder.com - decent PHP community site. Articles, code snippets, forums, etc.
    Sitepoint.com - more of a general web development site with heavy focus on PHP. Nice forums.

    More advanced
    PEAR - extensions, mmm
    Hardened PHP - for the security nazis
    Smarty - template engine

    PHP based packages
    PostNuke
    WordPress

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •