Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/modules/editITEM.php
<table width="650" border="0" cellpadding="3" cellspacing="0">

<?php
$itemID = $_GET["id"];
$getITEM = mysql_query("SELECT * FROM ath_resrc WHERE ath_resrc_id=$itemID");
$ROWgetITEM = mysql_fetch_array($getITEM);

//HEADING
	
	echo("<tr>");
	echo("<td valign=\"top\" bgcolor=\"#C0C0C0\">");
	echo("<b><a href=\"main.php?menu=viewresrc&act=viewresrc&valign=top&page=". $_SESSION["pageSHOWresources"] . "\">My resources overview</a> &gt; ");
	echo("<a href=\"main.php?menu=viewresrc&act=details&valign=top&type=res&id=" . $_GET["pid"] . "&page=" . $_SESSION["pageSHOWdetails"] . "\">Details</a> &gt; ");
	echo("Edit</b>");
	echo("</td>");
	echo("</tr>");

	echo("<tr><td>");
	
	if ($_GET["type"] == "project"){
		echo("Editing Projects. Not yet ready.");
	}	

	if ($_GET["type"] == "res"){
		echo("Editing Resource. Not yet ready.");
	}	

	if ($_GET["type"] == "note"){
		echo("Editing Note. Not yet ready.");
	}		
	
	echo("</td></tr>");

echo("</table>");
?>
</table>
Return current item: Athena Research Assistant