Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/admin_edit_record_action.php
<?
$phpgw_info["flags"] = array ("currentapp" => "tunez", "enable_nextmatchs_class" => True);
include ("../header.inc.php"); #PHP Groupware header
include ("tunez.inc.php");
include ("tunez_admin.inc.php");

#if (isset($playInRandomMode))
#{
#mysql_db_query("tunez", "UPDATE songs set playInRandomMode='$playInRandomMode' where song_id='$song_id'");
#}

if (isset($cd_number))
{
$album = mysql_result(mysql_query("SELECT album from songs where song_id='$song_id'"),0,album);
mysql_db_query("tunez", "UPDATE songs set cd_number='$cd_number' where album='$album'");
}

echo "<br><br><br><center>Album \"$album\" was given CD Number \"$cd_number\" ";
echo "<br><br>";
echo "<a href='$HTTP_REFERER'>Click Here to Return</a></center>";
#header('Location:'.' '.$HTTP_REFERER);
?>
Return current item: Axis Groupware