<?php
	/*
	** File: UPDATE_RELATIONSHIP
	** Description: change a row in the relationship table
	** Version: $Revision: 1.1 $
	** Created: 9/22/99
	** Author: Leon Atkinson
	** Email: leon@clearink.com
	** CVS Author: $Author: leon $
	** Last Revised: $Date: 1999/09/28 20:44:09 $
	** Log : $Log: UPDATE_RELATIONSHIP,v $
	** Log : Revision 1.1  1999/09/28 20:44:09  leon
	** Log : Preliminary changes to support relationships.  It's not all ready yet.
	** Log :
	**
	** Copyright (c) 1999 Working Dogs.  All rights reserved.
	*/

	/* 
	** Make sure the user has admin rights.
	*/
	if($UserInfo["Permission"]["Administrate"] )
	{
		$Query = "UPDATE relationship ";
		$Query .= "SET Name='" . addslashes($input_Name) . "', ";
		$Query .= "DisplayPrecedence=$input_DisplayPrecedence ";
		$Query .= "WHERE ID=$input_ID ";
		$DatabaseResult = mysql_query($Query, $DatabaseLink);
	}

?>