Gossamer Forum
Home : Products : Links 2.0 : Discussions :

database defs

Quote Reply
database defs
When you add your OWN database definitions to "links.def" and "category.def", do you have to change these variables???

Here are they : ( they are for the links.def file)
# Build up some variables from your definitions. Internal use only.
@db_cols = ();
foreach (sort { $db_def{$a}[0] <=> $db_def{$b}[0] } keys %db_def) {
push (@db_cols, $_);
$db_sort{$_} = $db_def{$_}[1];
$db_form_len{$_} = $db_def{$_}[2];
$db_lengths{$_} = $db_def{$_}[3];
$db_not_null{$_} = $db_def{$_}[4];
$db_defaults{$_} = $db_def{$_}[5];
$db_valid_types{$_} = $db_def{$_}[6];
($_ eq $db_key) and $db_key_pos = $db_def{$_}[0];
}

Please answer. thanks

Quote Reply
Re: database defs In reply to
no.

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/