Location: PHPKode > projects > Dynamic Band Manager > dbm-current/do_edit_gig.php
<?
import_request_variables("GPC");
include "permissions.php";


if (($logged_in!="1") || ($edit_gig!="1")) {
	include "admin_headers.php";
	echo "dbm:=>You are not authorised to view this page";
	exit;
	}

include "conf.php";

$sql="UPDATE dbm_gigs SET date='$date',time='$time',venue='$venue',comments='$comments',cost='$cost' WHERE gig_id='$gig_id'";
mysql_query ($sql,$link) ;
mysql_close();

header("Location: gig_admin.php");

?>
Return current item: Dynamic Band Manager