Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/admin_del_from_db.php
<?
include ("tunez.inc.php");
include ("tunez_admin.inc.php");

mysql_db_query("tunez", "DELETE from songs where song_id='$song_id'");

$returnUrl = ereg_replace('voteFor', 'VoteForDisabled', $HTTP_REFERER); //send back to url, but makes sure vote doen't happen another time
header("Location: $returnUrl");
?>
Return current item: Axis Groupware