"124,124,124" ),
array( "nesrgb" => "0,0,252" ),
array( "nesrgb" => "0,0,188" ),
array( "nesrgb" => "68,40,188" ),
array( "nesrgb" => "148,0,132" ),
array( "nesrgb" => "168,0,32" ),
array( "nesrgb" => "168,16,0" ),
array( "nesrgb" => "136,20,0" ),
array( "nesrgb" => "80,48,0" ),
array( "nesrgb" => "0,120,0" ),
array( "nesrgb" => "0,104,0" ),
array( "nesrgb" => "0,88,0" ),
array( "nesrgb" => "0,64,88" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "188,188,188" ),
array( "nesrgb" => "0,120,248" ),
array( "nesrgb" => "0,88,248" ),
array( "nesrgb" => "104,68,252" ),
array( "nesrgb" => "216,0,204" ),
array( "nesrgb" => "228,0,88" ),
array( "nesrgb" => "248,56,0" ),
array( "nesrgb" => "228,92,16" ),
array( "nesrgb" => "172,124,0" ),
array( "nesrgb" => "0,184,0" ),
array( "nesrgb" => "0,168,0" ),
array( "nesrgb" => "0,168,68" ),
array( "nesrgb" => "0,136,136" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "248,248,248" ),
array( "nesrgb" => "60,188,252" ),
array( "nesrgb" => "104,136,252" ),
array( "nesrgb" => "152,120,248" ),
array( "nesrgb" => "248,120,248" ),
array( "nesrgb" => "248,88,152" ),
array( "nesrgb" => "248,120,88" ),
array( "nesrgb" => "252,160,68" ),
array( "nesrgb" => "248,184,0" ),
array( "nesrgb" => "184,248,24" ),
array( "nesrgb" => "88,216,84" ),
array( "nesrgb" => "88,248,152" ),
array( "nesrgb" => "0,232,216" ),
array( "nesrgb" => "120,120,120" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "252,252,252" ),
array( "nesrgb" => "164,228,252" ),
array( "nesrgb" => "184,184,248" ),
array( "nesrgb" => "216,184,248" ),
array( "nesrgb" => "248,184,248" ),
array( "nesrgb" => "248,164,192" ),
array( "nesrgb" => "240,208,176" ),
array( "nesrgb" => "252,224,168" ),
array( "nesrgb" => "248,216,120" ),
array( "nesrgb" => "216,248,120" ),
array( "nesrgb" => "184,248,184" ),
array( "nesrgb" => "184,248,216" ),
array( "nesrgb" => "0,252,252" ),
array( "nesrgb" => "248,216,248" ),
array( "nesrgb" => "0,0,0" ),
array( "nesrgb" => "0,0,0" )
);
?>
".$nescolor[$row]["nesrgb"]."";
//. $playlist[$row]["tracktitle"]"\">".$playlist[$row]["tracktitle"]."";
// trackurl
// .'\" title=\"".$playlist[$row]["tracktitle"]."\">".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
}
?>
Manual access to each element from associative array";
echo "Output in a shitty ul because i'm too stoopid to figure out how to wrap the data in table rows ";
echo "";
echo "";
echo "Number Title Artist Length ";
echo "";
for ($row = 0; $row < 16; $row++)
{
// echo $shop[$row]["Title"]." costs ".$shop[$row]["Price"]." and you get ".$shop[$row]["Number"];
// echo " ";
// echo $playlist[$row]["Title"]." is (GET TRACK NUMBER!!!) off (GET ALBUM NAME!) by (GET ALBUM ARTIST) ".$playlist[$row]["TrackLength"].";
echo "" . $playlist[$row]["trackno"]." ".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
}
echo "
";
?>
Hexadecimal
This list of numbers represents hexadecimal the RGB value of the NES palette in order.
$playlist = array(
array(
"hexadecimal" => "#7C7C7C",
"rgb" => ""
),
array(
"hexadecimal" => "#0000FC",
"rgb" => ""
),
array(
"hexadecimal" => "#0000BC",
"rgb" => ""
),
array(
"hexadecimal" => "#4428BC",
"rgb" => ""
),
array(
"hexadecimal" => "#940084",
"rgb" => ""
),
array(
"hexadecimal" => "#A80020",
"rgb" => ""
),
array(
"hexadecimal" => "#A81000",
"rgb" => ""
),
array(
"hexadecimal" => "#881400",
"rgb" => ""
),
array(
"hexadecimal" => "#503000",
"rgb" => ""
),
array(
"hexadecimal" => "#007800",
"rgb" => ""
),
array(
"hexadecimal" => "#006800",
"rgb" => ""
),
array(
"hexadecimal" => "#005800",
"rgb" => ""
),
array(
"hexadecimal" => "#004058",
"rgb" => ""
),
array(
"hexadecimal" => "#000000",
"rgb" => ""
),
array(
"hexadecimal" => "#000000",
"rgb" => ""
),
array(
"hexadecimal" => "#000000",
"rgb" => ""
),
array(
"hexadecimal" => "#BCBCBC
#0078F8
#0058F8
#6844FC
#D800CC
#E40058
#F83800
#E45C10
#AC7C00
#00B800
#00A800
#00A844
#008888
#000000
#000000
#000000
#F8F8F8
#3CBCFC
#6888FC
#9878F8
#F878F8
#F85898
#F87858
#FCA044
#F8B800
#B8F818
#58D854
#58F898
#00E8D8
#787878
#000000
#000000
#FCFCFC
#A4E4FC
#B8B8F8
#D8B8F8
#F8B8F8
#F8A4C0
#F0D0B0
#FCE0A8
#F8D878
#D8F878
#B8F8B8
#B8F8D8
#00FCFC
#F8D8F8
#000000
#000000
"",
"rgb" => ""
),
array(
"hexadecimal" => "",
"rgb" => ""
)
array(
"trackno" => "03",
"trackartist" => "Royal Anguish",
"tracktitle" => "Mary Did You Know?",
"tracklength" => "04:13",
"trackurl" => "03-mary-did-you-know_royal-anguish.mp3"
),
array(
"trackno" => "04",
"trackartist" => "Frank's Enemy",
"tracktitle" => "Coventry Carol",
"tracklength" => "05:10",
"trackurl" => "04-coventry-carol-(lully-llullay)_franks-enemy.mp3"
),
array(
"trackno" => "05",
"trackartist" => "Frost Like Ashes",
"tracktitle" => "Let All Mortal Flesh Keep Silence",
"tracklength" => "04:43",
"trackurl" => "05-let-all-mortal-flesh-keep-silence-o'come-emmanuel_frost-like-ashes.mp3"
),
array(
"trackno" => "06",
"trackartist" => "Tortured Conscience",
"tracktitle" => "The Little Drummer Boy",
"tracklength" => "02:47",
"trackurl" => "06-the-little-drummer-boy_tortured-conscience.mp3"
),
array(
"trackno" => "07",
"trackartist" => "Hearken",
"tracktitle" => "O Come All Ye Faithful",
"tracklength" => "02:30",
"trackurl" => "07-o-come-all-ye-faithful_hearken.mp3"
),
array(
"trackno" => "08",
"trackartist" => "Death Requisite",
"tracktitle" => "Child Messiah",
"tracklength" => "05:07",
"trackurl" => "08-child-messiah_death-requisite.mp3"
),
array(
"trackno" => "09",
"trackartist" => "EverSINcEve",
"tracktitle" => "O Holy Night",
"tracklength" => "07:06",
"trackurl" => "09-o-holy-night_eversinceve.mp3"
),
array(
"trackno" => "10",
"trackartist" => "Faithbomb",
"tracktitle" => "God Rest Ye Merry Gentlemen (Take 2)",
"tracklength" => "01:24",
"trackurl" => "10-god-rest-ye-merry-gentlemen-(take-2)_faithbomb.mp3"
),
array(
"trackno" => "11",
"trackartist" => "Pure Defiance",
"tracktitle" => "Joy to the World",
"tracklength" => "05:49",
"trackurl" => "11-joy-to-the-world_pure-defiance.mp3"
)
);
?>
";
// echo $playlist[$row]["Title"]." is (GET TRACK NUMBER!!!) off (GET ALBUM NAME!) by (GET ALBUM ARTIST) ".$playlist[$row]["TrackLength"].";
// echo "" . $playlist[$row]["trackno"]." ".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
// echo "".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
echo "".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ".$playlist[$row]["trackartist"]." ";
//. $playlist[$row]["tracktitle"]"\">".$playlist[$row]["tracktitle"]."";
// trackurl
// .'\" title=\"".$playlist[$row]["tracktitle"]."\">".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
}
?>
Manual access to each element from associative array";
echo "
Output in a shitty ul because i'm too stoopid to figure out how to wrap the data in table rows ";
echo "
";
echo "";
echo "Number Title Artist Length ";
echo "";
for ($row = 0; $row < 16; $row++)
{
// echo $shop[$row]["Title"]." costs ".$shop[$row]["Price"]." and you get ".$shop[$row]["Number"];
// echo " ";
// echo $playlist[$row]["Title"]." is (GET TRACK NUMBER!!!) off (GET ALBUM NAME!) by (GET ALBUM ARTIST) ".$playlist[$row]["TrackLength"].";
echo "" . $playlist[$row]["trackno"]." ".$playlist[$row]["tracktitle"]." ".$playlist[$row]["trackartist"]." ".$playlist[$row]["tracklength"]." ";
}
echo "
";
?>