// include function files for this application require_once("book_sc_fns.php"); session_start(); do_html_header("Adding an individual"); if (check_admin_user()) { // if (filled_out($HTTP_POST_VARS)) // { if(insert_book($address3, $address4, $email, $phone, $fax, $contacted, $accepted, $declined, $currasgn, $dateac, $datecont, $datedecl, $title, $lastname, $firstname, $middlename, $city, $stateprov, $postalcode, $country, $address1, $address2, $notes, $catid, $dateMod)) echo "
$firstname $lastname was added to the database.
"; else echo "$firstname $lastname could not be added to the database.
"; // } // else // echo "You have not filled out the form. Please try again."; do_html_url("admin.php", "Back to administration menu"); } else echo "You are not authorised to view this page."; do_html_footer(); ?>