Location: PHPKode > projects > The Referral Database > referralsdb/edit_category_form.php
<?php

// include function files for this application
require_once("referrals_fns.php"); 
session_start();

do_html_header("Edit category");
    // from user_auth_fns.php
if (check_admin_user())
{
                 // from organization_fns.php
  if ($catname = get_category_name($catid))
  {
    $cat = compact("catname", "catid");
    // from admin_fns.php
    display_category_form($cat);
  }
  else
    echo "Could not retrieve category details.<br>";
}
else
  echo "You are not authorized to enter the administration area.";

do_html_footer();

?>
Return current item: The Referral Database