Location: PHPKode > projects > Local Lyric Displayer > lyrics/EDITSONG.PHP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-9">
</head>
<link rel="stylesheet" type="text/css" href="lyrics.css">
<body onload="window.opener.location.assign(window.opener.location + '&count=edited');">
<?php 
include ('connect.php');
	$sql_string_band = "UPDATE bandnames SET bandname='" . $bandname .  "' WHERE bandid=" . $bandid;
	//echo $sql_string_band . "<br>";
	$result = mysql_db_query ("lld", $sql_string_band);

	$sql_string = "UPDATE lyrics SET lyrics='" . $lyrics .  "', songname='" . $songname . "', bandname=" . $bandid . ", albumname='" . $albumid . "' WHERE no=" . $no;
	//echo $sql_string;
	$result = mysql_db_query ("lld", $sql_string)
    or die ("Query failed");
# get column metadata
?>
<a href="#" onclick="window.close()">Deðiþiklik Yapýldý Bu Pencereyi Kapatmak Ýçin Týklayýn</a>
<a href="javascript:history.back(1)">Geri Gitmek Ýçinse Buraya</a>
</body>
</html>
Return current item: Local Lyric Displayer