Location: PHPKode > projects > PHPdir > phpdir/admin/edit.php
<?
include	('dbkey.php');
include	('queries.php');
include	('functions.php');
include	('head.admin.php');

if ($action == "list") {

	edit_contact_list($action,$personid);

} elseif ($action == "edit") {

	edit_contact_upd($action,$lastname,$firstname,$title,$phone,$department,$personid,$update_person,$update_phone);

} elseif ($action == "delete") {

	edit_contact_del($action,$personid,$select_edit);

} else {

    print "<td class=Highlight><center><b>Select a contact to edit first!</b></center></td>";

}

include	('footer.php');
?>
Return current item: PHPdir