Location: PHPKode > projects > Wombat Open Source > wombat/calendar/note_submit_action.php
<?
/* 
		WOMBAT Open Source
		Small business simple project management and customer relation management tool.

		Version		:
		Last Update	:

		Copyright (C) 2001-2003 Outdare Internet Service B.V.

		Wombat is free software; you can redistribute it and/or modify it 
		under the terms of the GNU General Public License as published by the 
		Free Software Foundation; either version 2 of the License, 
		or (at your option) any later version.

		Wombat is distributed in the hope that it will be useful, 
		but WITHOUT ANY WARRANTY; without even the implied warranty of
		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
		See the GNU General Public License for more details.
		(LICENSE file)

		You should have received a copy of the GNU General Public License 
		along with this program; if not, write to :

		Free Software Foundation, Inc., 
		59 Temple Place, Suite 330,
		Boston, MA 02111-1307 USA

		File Description : Submit hour (for employee).
		
*/
include("../inc/local.inc.php");
include("../inc/wombat.inc.php");

@$event_id = $_POST['event_id'];
@$notes = $_POST['notes'];



$ls_note = "UPDATE cal_events SET description='[$notes]' WHERE id=$event_id"; 
#echo $ls_note;
$li_resultotd = do_sql($ls_note);
echo "Note added. Refresh your main window to see the changes<br>";
echo "<a href='' onClick='window.close()'> close </a>";




?>
Return current item: Wombat Open Source