Welcome To The Contact Database
"; echo "You have the following choices:"; echo "
"; echo " List Organizations in the database.

"; echo "Edit an existing record.

"; echo "Enter a new service provider.

"; echo "Search for a service provider by keyword.

"; echo ""; echo "

"; } //Function list_job() { // global $location, $list, $edit, $search, $state; // echo "state = $state
"; // $location = "http://sunsite.unc.edu/mccarthy/db/showtable.phtml"; // echo "location = $location"; // echo ""; // } /* The main loop. Call functions based on the value of $state, which gets set via a hidden INPUT TYPE. */ switch($state) { case ""; $redir = "startpage2.phtml"; start_page(); break; case "list"; $redir = "showtable.phtml"; start_page(); break; case "create"; $redir = "showtable.phtml"; start_page(); break; case "edit"; echo ""; // Contact_Form($state, $uid); break; case "search"; echo ""; // Commit_Update($uid,$first_name,$middle_initial,$last_name,$phone,$fax,$email); break; } ?>