Categorized | MySQL

PHP Basics: Variables

Posted on 25 July 2010 by Abidoon


Variables allow you to store data values in memory and are very easy to create.

Tags | ,

18 Responses to “PHP Basics: Variables”

  1. jellybellies132 says:

    @phpacademy Even though I don’t agree on how he said it, I agree with him. = and == are a lot different in programming and the earlier a new programmer can grasp that the better. You stating that it equals it (which is not true it does not equal it) may confuse beginners and cause errors in the future.

  2. elcrimer says:

    In this tut Alex talks about :
    1- How to declare variables Using the ” $ ” .
    2- How to assign strings/numerical values to a variable using ” = ” .
    3- How to use variables within the echo command .
    4- How to concatenate strings using ” . ” …

  3. saadlulu says:

    Alex is 19 0.o ?? no way !

  4. saadlulu says:

    @phpacademy dont worry about that fool Mr.Alex,
    u know how much we love u :)
    and yeah that daniel is not making much of a point, watching a tutorial doenst mean we suck at programming we just love honing our skills.

  5. mhengmheng24 says:

    i agree!

  6. phpacademy says:

    In the context I used it, only an idiot wouldn’t know what I meant. Everyone else seems to be happy. I don’t appreciate comments like that when I’m creating tutorials for free. You’re complaining about something very illogical.

  7. andresoares77 says:

    Well pointed but a little harsh and aggressive on the
    “end up making a fool of yourself, like this guy. ” comment.

  8. pranav542002 says:

    go to mahaphpcode site and play with php

  9. bm0286 says:

    i iust started learning php ,those videos that are very helpful for me.i really like it.
    and all i can say that is thank u very much.hopefully you will make more great videos like that.

  10. NyuuChan17 says:

    I thank you very much. x)

  11. daniel1982 says:

    CORRECTION ALERT!

    When you say $i = 1 you don’t say that $i equeals 1, you ASSIGN the value 1 to the variable $i.

    “So what?”

    Yeah, so what? In every programming-language = means ‘assign’, while == means ‘equals’. It is very important to be able to put in to words excactly what you’re doing from the very beginning. Else you will end up making a fool of yourself, like this guy.

  12. MultiLern says:

    THX SO MUCH!!! I’ve been trying to find a descent php tutorial for weeks

  13. 8ballbreakandrun says:

    It’s guys like you that are going to change the world. Who would pay to go to a classroom to learn this when there are guys like you ready to share your knowledge with the world for free! Thanks so much for this!

  14. Metman19 says:

    thanks a lot for this tutorial for ppl learning Php

  15. craponnaruto says:

    I LOVE PHP NOW!

  16. MovieTrailersYay says:

    Sweet. Understanding more each video

  17. rhymereverie says:

    You are the COOLEST DUDE, Never stop the good work…

  18. chjustin69 says:

    I actually started with your “registration” page series and LOVED it. Even though I know a good amount of basic level programming I’m still going to watch all your Basic PHP videos to get a great understanding of PHP! Really enjoy them. Hope you do more.


Leave a Reply