1) $llink.=($llink==”?”:’&’).’pg=’.$pg;

if($llink!=”) $llink=’&’.$llink;

$llink_mod=str_replace(“&”,”/”,$llink);

$llink_mod=str_replace(“=”,”/”,$llink_mod);

// *********** EXISTING RECORD: reading values **************

if($id && ((!$_POST[“ed”] && !$_POST[“ad”]) || (($_POST[“ed”] || $_POST[“ad”]) && $noer))){

$r=@mysql_query(“select * from USERS where Type=’C’ and ID=”.$id);

if(@mysql_num_rows($r)){

$f=mysql_fetch_array($r);

$userpw=$f[“Pw”];

$email=$f[“Email”];

$first=$f[“First”];

$last=$f[“Last”];

// Read info from CANDIDATES table

$r=@mysql_query(“select * from CANDIDATES where UserID=”.$id);

if(@mysql_num_rows($r)){

$f=mysql_fetch_array($r);

$mi=$f[“MI”];

}

}

}

// Generate and display screen ————-

$s.=’

‘;

$s.=’

‘.trim($first.’ ‘.$last).’

‘.”\r\n”;

$s.=’

‘;

$s.=($msg?(‘

‘.$msg.’

‘):”);

$s.=’

‘;

$s.=’

‘;

$s.=’

Under development…

‘;

$content=$s;

?>