session_start();
include("config.inc");
include("common.inc");
function find_user($db, $email) {
global $row, $query;
$sql = "SELECT * from applicant WHERE email='$email'";
if (! ($query = pg_exec($db, $sql))) {
echo "Problem with query", pg_ErrorMessage($db), "
";
return FALSE;
}
$row = pg_Fetch_Array($query, 0);
return TRUE;
}
function print_textarea($title, $name, $value, $editable)
{
if ($editable) {
echo "
The button below will delete an applicant permanently from the database! Use with care
} #fd to delete applicant ?> } else { ?> Sorry there is a problem with connecting to the new maintainers database, please try again later. } } ?>