1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP tutorial by Wiley?

Discussion in 'White Hat SEO' started by jp_smith86, Nov 26, 2012.

  1. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    340
    Location:
    DIL APNA PUNJABI
    Home Page:
    Hey Friends....


    I'm trying to learn PHP.. what is a good source to learn it online... I have heard from some people about a book written by wiley(something i don't know the exact name)...

    Kindly suggest me the best tutorial.. so that i can learn quickly and can clear all basics about php online.

    Thanks
    JP
     
  2. builder

    builder Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    100
    Likes Received:
    17
    The Tizag is the best online:
    hxxp://www.tizag.com/phpT/

    Just change the xx=>tt
     
    • Thanks Thanks x 1
  3. ChimpsAhoy

    ChimpsAhoy Newbie

    Joined:
    Sep 8, 2012
    Messages:
    3
    Likes Received:
    0
    The Tizag tutorial is a pretty bad approach to PHP, suggesting ' in HTML instead of ", meanwhile not even telling people that single quotes are easier to manager and they're faster. echo '<a href="#">hello</a>'; is faster and better than echo "<a href=\"#\">hello</a>';

    Using literal strings also makes it to where you can't to do things like echo "putting $variables in the string"; which is also slow, bad practice, harder to debug, etc, and this tutorial also tells you to do it that way.

    echo 'do it ' . $thisway . ' instead';

    I should make a PHP tutorial, I think.

    In the mean time I'd suggest looking for PHP best practices and other things like that. I also highly suggest programming with your error reporting set to E_ALL | E_NOTICE | E_STRICT to make sure you right good code and also it makes it easier to find typos in variables, etc.
     
    Last edited: Nov 27, 2012
  4. Zapdos

    Zapdos Power Member

    Joined:
    Oct 22, 2011
    Messages:
    597
    Likes Received:
    708
    Location:
    Eastern North Carolina
    Tizag is a beginner tutorial. Not a be-all-end-all guide. By the time performance is concerned they should know the difference between single and double quoting strings.

    I would still recommend Tizag as a tutorial for a quickstart. Also w3schools. These are starters. Then once you have the concepts down, use php.net function reference and try to make your own application. Whether or not it's good for public use is irrelevant, practice is practice. If you read 100 books about PHP, you're still as useful as someone who just finished the tizag php tutorials.