Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



HI--         for($count = 0; $count < sizeof($artist); $count++)
                { echo "<i>$artist[$count]</i><br>"; }
        // $artist is a list of ten (10) artist's names.         for($count = 0; $count < sizeof($artist); $count++)
                {  //Trying to assign the value of $c1, $c2, $c3, etc. using the value of the variable $count.
                   //But so far, it only processes the value of $count alone, and it ignores $c
                //The line below should read like this:  $c1 = $artist[0], next line:  $c2 = $artist[1], etc.
                        $c . $count+1 = $artist[$count];
                }

Help!!!

Julio Cuz, Jr.
Riverside Community College
jcuz@xxxxxxxxxxxxx


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux