array('postfix' => 'right-justify'), 'default' => '', 'input' => 'R', 'name' => 'Id', 'options' => 'VDFL', 'select' => 'T', 'size|ACP' => 3, 'sort' => true ); $opts['fdd']['name'] = array( 'default' => '', 'help|ACP' => 'Limit 20 characters', 'input' => '', 'maxlen' => 20, 'name' => 'Name', 'options' => 'ACPVDFL', 'select' => 'T', 'size|ACP' => 20, 'sqlw' => 'TRIM("$val_as")', 'sort' => true, 'help|ACP' => 'Netscape color name' ); $opts['fdd']['hex'] = array( 'default' => '', 'help|ACP' => 'Limit 7 characters', 'input' => '', 'maxlen' => 7, 'name' => 'Hex', 'options' => 'ACPVDFL', 'select' => 'T', 'size|ACP' => 7, 'sqlw' => 'TRIM("$val_as")', 'sort' => true, 'help|ACP' => 'Hexadecimal code' ); // Set the name of the validation script used for INSERT, UPDATE $opts['triggers']['insert']['before'] = './triggers/val/colors.php'; $opts['triggers']['update']['before'] = $opts['triggers']['insert']['before']; require_once('./inc/phpMyEdit.class.php'); new phpMyEdit($opts); require_once('./inc/footer2.php'); ?>