Location: PHPKode > projects > WINR - An iTunes Net Remote > WINR/archive/songs.php
<?php
	session_start();

	include("parseXML.php");

	switch($_GET['msg'])
	{
		case "displayPlaylist":
			if (!$HTTP_SESSION_VARS['library']) {
				refreshLibrary();
				usort($songs, "cmp");
				$HTTP_SESSION_VARS['library'] = $songs;
			} else {
				$songs = $HTTP_SESSION_VARS['library'];
			}
			echo array_to_table($songs, $to_display);
		break;
	}
?>
Return current item: WINR - An iTunes Net Remote