Français
  • PHP Tutorial - 10 - Arrays


    Added on Tuesday 04 March 2008 03:50:09
    by thenewboston
    60535 Views
    4.8 / 5
    12345
    178 rates
    Send this video to your friends
    Get embed code of video

    visit www.thenewboston.com for all my tutorials!



    facebook
  • Write your comment here...
  • archange156

    @Mertt03 Hey, no problem! It's good to know you went off and learned all these things. If you don't ask questions, you'll never learn ;)
    Friday 20 January 2012 06:17:04
  • Mertt03

    @archange156 No you didnt miss the point. A month ago i was a starter so didnt know anything about Html Javascript and Css and PHP! A mont later i know the difference between these things so i should have learned all these things before asking questions :(. So sorry for the dumb question anyway thanks for the time answering my dumb question :( Take care
    Friday 20 January 2012 05:48:04
  • archange156

    @Mertt03 What do you mean? Arrays are used in heaps of different type of programming languages. As XHTML is not a programming language, it does not 'use' arrays. Also Notepad++ is a text editor. Sorry if I missed the point to your question, it's not very clear.
    Friday 20 January 2012 05:06:18
  • Mertt03

    So this is only possible with PHP and not with XHTML/Notepad++?
    Monday 19 December 2011 10:59:54
  • ItalianNatural

    Guys and Girls, if you want to print out all the names just do the following: echo $people[0].$people[1].$people[2]; Boom
    Tuesday 13 December 2011 00:24:21
  • GamesForLifes999

    Nice tutorial. But what if i want to add 0,1 ?. How can i ?. Is it possible. Thanks
    Monday 31 October 2011 05:09:43
  • VagfaceScripting

    @TheYoungBucks12 It is indeed. Also similar to Java as well. =)
    Wednesday 19 October 2011 14:03:32
  • durtX43

    I'm watching this on 2011, where Bucky has advance equipment to make tutorials and also has a podcast. That's an amazing improvement! Nice job Bucky.
    Sunday 25 September 2011 10:40:56
  • xmodrock

    @TheYoungBucks12 that ti is.. and java.. both languages are similar and its close to perl as well.. they are all object oriented programing so its all kinda similar
    Thursday 01 September 2011 21:23:19
  • TheYoungBucks12

    this is a lot like python
    Friday 19 August 2011 20:18:37
  • primax29

    @sushant1942 You do a loop, and what you want the loop to do is print one item every time a loop does a step. If you need more info, just reply
    Sunday 07 August 2011 15:02:56
  • sushant1942

    if i want to display all three names at time then what?
    Tuesday 26 July 2011 03:48:46
  • kimyboi777

    you sound more lively during your javascript tutorials
    Saturday 23 July 2011 10:15:40
  • youdripblood

    @wheay21 use it in a for loop or summin NOTE: this is written in java not php but it is still the same really example: String array[] ("Tom", "Joe", "Adam"); for(int i =0; i < array.length;i++) // this bit is the for loop to go through the array till i is the same as the array system.out.println(array[i]) // this bit prints out a line on the screen of the current word in the array thats the basic principle i anybody else has got questions then just pm me :)
    Sunday 08 May 2011 05:36:26
  • wheay21

    i still dont get array. its like assigning values. how can we use it in real life projects.
    Wednesday 04 May 2011 07:38:17
  • hammadghulam

    Tonny
    Monday 28 March 2011 11:06:32
  • SnijdersMax

    @NeigborhoodBoards it's just another way of achieving the same thing: setting Tom in the array at [0]
    Thursday 10 March 2011 10:39:53
  • SnijdersMax

    @NeigborhoodBoards the address in the memory
    Thursday 10 March 2011 10:37:44
  • SnijdersMax

    @NeigborhoodBoards the place in the memory
    Thursday 10 March 2011 10:36:48
  • NeigborhoodBoards

    whats the difference between 'tom' and "tom"?
    Friday 04 March 2011 20:12:55
  • Diifusal

    @liquidmetaltech no, not yet x)
    Monday 24 January 2011 15:01:18
  • liquidmetaltech

    @Diifusal did you find out yet cuz i want to know also. lol
    Tuesday 18 January 2011 15:24:02
  • Diifusal

    i have a doubt teacher x) when do you know when you got to use 'tom' or "tom"? I mean, how do I know when I got to use apostrophes or those things which name I am too sleepy to remember ---> "
    Saturday 01 January 2011 19:11:01
  • SerbStef

    @TheSecOrg you can declare $people=array()...i hope that i understood correct
    Wednesday 29 December 2010 14:16:06
  • samiwistler

    Cool shot, thanks
    Wednesday 29 December 2010 08:12:16
ADVERTISEMENT
Supplements
Social Network
Tag cloud