get_form_$field()

An alternate "getter" method formats the value for placement in a web form. Its name is the variable name prepended by "get_form_". This function converts: "who's there" --to-- &#34who's there&#34 so that they will work properly as form values: <input type=text value="$value">

For "_lookup" variables, this will create a one-dimensional array of "keys" to load as input into a select box, works same as function above

Examples:

example1.php
<?php
include("lib.php");
load("person");

$p = new person($_GET['person_id']);
$name $p->get_form_name();
echo 
"<input type=text name=name value='$name'>";
?>