[PHP] arrays

Discussion in 'Web Design & Coding' started by CHiLLaXen, Aug 9, 2004.

  1. CHiLLaXen

    CHiLLaXen hypnotika

    Messages:
    107
    Location:
    Minnesota
    if I do
    PHP:
    $array_name[] = "blah1";
    $array_name[] = "blah2";
    $array_name[] = "blah3";
    $array_name[] = "blah4";
    $array_name[] = "blah5";
    will it automatically insert the indexies (spelling/grammar?)

    like it will make $array_name[] = "blah1"; to $array_name[1] = "blah1";...etc :confused:
     
  2. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    it will index them from 0

    so blah1 will be in $array_name[0]