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.

Easy way to start learning PHP

Discussion in 'PHP' started by scriptaty, Jul 9, 2008.

  1. #1
    Well,

    I am not a professional myself.But I found a great way to start and learn PHP.

    All of you who just started learning PHP must have known that everything is the function that is already created in PHP.

    Nowadays I am downloading the PHP script as well learning online like in website php-mysql-tutorial.com and after that when I get some hard function or say I don't understand what is the specific function is doine then I do this:-

    php.net/function_name

    Every professional knows about it but ?I think this will help someone.

    For example:-
    Here is acode
    // get the buffer
    $buffer = ob_get_contents();
    PHP:
    Now, we don't know what ob_get_contents() do.

    So, we can just simply do
    php.net/ob_get_contents

    i know that in above, automatically this link has been created but I think most guys has not got the catch.

    Thanks..If you have any other technique then just help us.
     
    scriptaty, Jul 9, 2008 IP
  2. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Oh no, the secret is out! :eek:

    Kidding, PHP.net rocks ;) - Infact the [PHP ] block here on digitalpoint automagically converts all function references to links to the PHP.net website.

    Dan
     
    Danltn, Jul 9, 2008 IP
  3. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know the secret is out...lol

    By the way, most newbies like me don't do this and just get over the book only.
     
    scriptaty, Jul 9, 2008 IP
  4. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #4
    So far I haven't seen a PHP book in a local bookstore that I would recommend.

    Just a hint to any of you wanting to buy one - the (intelligent, not ones an 8 year wrote) online tutorials are nearly always better.

    Dan
     
    Danltn, Jul 9, 2008 IP
  5. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I think you should once take a look at 'PHP MySQL bible' I think it's a best one.
     
    scriptaty, Jul 9, 2008 IP
  6. o_rly

    o_rly Guest

    Messages:
    35
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I use php lookup (firefox addon) a lot to lookup functions from php.net. I know some people will just bookmark php.net, but I like having the bar up there for some reason.
     
    o_rly, Jul 9, 2008 IP
  7. NuLLByTe

    NuLLByTe Active Member

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Didn't notice the shortcut :) Thanks ;)
     
    NuLLByTe, Jul 9, 2008 IP
  8. Mozzart

    Mozzart Peon

    Messages:
    189
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    No! our precious secret!

    Haha! well let's see

    books books... I have never read one based on php or anything, most of the stuff I have learned is from php.net, looking at other people's sources... some tutorials, and practice

    BUT, here is something that you will inevitably have to learn
    regular expressions, they are confusing in the start, but it's really easy
    For that I bought "Mastering Regular Expressions"

    Best investment I have done, and for javascript

    "Simply Javascript" by sitepoint

    Never think of buying this textbooks as waste of money, they are investments that will help you get more money in the future ifyou apply them well.

    There are some free ebooks on php... i remember reading some of them in the past and they were really good but I forgot where I got them from :(

    good luck! may the $_GLOBALS be with you (in a secure way)
     
    Mozzart, Jul 9, 2008 IP