// eg 'int' for integer. $fieldFlags = $fieldTypeSplit[5]; // eg 'binary' or 'unsigned zerofill'. $fieldLen = $fieldTypeSplit[3]; // eg 11, or 'cheese','salmon' for enum. if (($fieldType == 'enum' || $fieldType == 'set') && $ret_fieldName == $fieldName) { $fieldOptions = split("','", substr($fieldLen, 1, -1)); return $fieldOptions; } } /* if the funciton makes it this far, then it either did not find an enum/set field type, or it failed to find the the fieldname, so exit FALSE! */ return FALSE; } $enum_options_area = mysql_enum_values("area_of_strength_or_need", "area"); ?> <!DOCTYPE HTML> <HTML lang=en> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> <TITLE><?php echo $page_title; ?> </TITLE> <style type="text/css" media="screen"> <!-- @import "<?php echo IPP_PATH; ?>
// eg 'int' for integer. $fieldFlags = $fieldTypeSplit[5]; // eg 'binary' or 'unsigned zerofill'. $fieldLen = $fieldTypeSplit[3]; // eg 11, or 'cheese','salmon' for enum. if (($fieldType == 'enum' || $fieldType == 'set') && $ret_fieldName == $fieldName) { $fieldOptions = split("','", substr($fieldLen, 1, -1)); return $fieldOptions; } } //if the funciton makes it this far, then it either //did not find an enum/set field type, or it //failed to find the the fieldname, so exit FALSE! return FALSE; } $enum_options_type = mysql_enum_values("bugs", "status"); ?> <!DOCTYPE HTML> <HTML lang=en> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> <TITLE><?php echo $page_title; ?> </TITLE> <style type="text/css" media="screen"> <!-- @import "<?php echo IPP_PATH; ?>
// eg 'int' for integer. $fieldFlags = $fieldTypeSplit[5]; // eg 'binary' or 'unsigned zerofill'. $fieldLen = $fieldTypeSplit[3]; // eg 11, or 'cheese','salmon' for enum. if (($fieldType == 'enum' || $fieldType == 'set') && $ret_fieldName == $fieldName) { $fieldOptions = split("','", substr($fieldLen, 1, -1)); return $fieldOptions; } } //if the funciton makes it this far, then it either //did not find an enum/set field type, or it //failed to find the the fieldname, so exit FALSE! return FALSE; } $enum_options_type = mysql_enum_values("school_history", "ipp_present"); /*************************** popup chooser support function ******************/ function createJavaScript($dataSource, $arrayName = 'rows') { // validate variable name if (!is_string($arrayName)) { $system_message = $system_message . "Error in popup chooser support function name supplied not a valid string (" . __FILE__ . ":" . __LINE__ . ")"; return FALSE; } // initialize JavaScript string $javascript = '<!--Begin popup array--><script>var ' . $arrayName . '=[];'; // check if $dataSource is a file or a result set if (is_file($dataSource)) { // read data from file $row = file($dataSource); // build JavaScript array
// eg 'int' for integer. $fieldFlags = $fieldTypeSplit[5]; // eg 'binary' or 'unsigned zerofill'. $fieldLen = $fieldTypeSplit[3]; // eg 11, or 'cheese','salmon' for enum. if (($fieldType == 'enum' || $fieldType == 'set') && $ret_fieldName == $fieldName) { $fieldOptions = split("','", substr($fieldLen, 1, -1)); return $fieldOptions; } } //if the funciton makes it this far, then it either //did not find an enum/set field type, or it //failed to find the the fieldname, so exit FALSE! return FALSE; } $enum_options_type = mysql_enum_values("background_info", "type"); ?> <!DOCTYPE HTML> <HTML lang=en> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> <TITLE><?php echo $page_title; ?> </TITLE> <style type="text/css" media="screen"> <!-- @import "<?php echo IPP_PATH; ?>