Hi,
Trying to set up a new database with DBman, but after creating my config file, I get an error . Here's link to my script http://eqf.maddocmatt.com/cgi-bin/dbman/db.cgi
Here's the code from my database:
%db_def = (
Owner => [0, 'alpha', 40, 255, 1, '', ''],
email => [1, 'alpha', 40, 255, 1, '', ''],
Horse => [2, 'alpha', 40, 255, 1, '', ''],
Breed => [3, 'alpha', 40, 255, 1, '', ''],
Age => [4, 'numer', 2, 2, 1, '', ''],
Gender => [5, 'alpha', 0, 255, 1, '', ''],
Height (hh) => [6, 'numer', 40, 2, 1, '', ''],
Color => [7, 'alpha', 40, 255, 1, '', ''],
Markings => [8, 'alpha', 40, 255, 1, '', ''],
Sire => [9, 'alpha', 40, 255, 1, '', ''],
Dam => [10,'alpha', 40, 255, 1, '', '']
);
$db_key = 'Horse';
$db_key_track = 1;
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = ( Gender => 'Male,Female' );
$auth_user_field = 9;Any help greatly appreciated
Trying to set up a new database with DBman, but after creating my config file, I get an error . Here's link to my script http://eqf.maddocmatt.com/cgi-bin/dbman/db.cgi
Here's the code from my database:
Code:
%db_def = (
Owner => [0, 'alpha', 40, 255, 1, '', ''],
email => [1, 'alpha', 40, 255, 1, '', ''],
Horse => [2, 'alpha', 40, 255, 1, '', ''],
Breed => [3, 'alpha', 40, 255, 1, '', ''],
Age => [4, 'numer', 2, 2, 1, '', ''],
Gender => [5, 'alpha', 0, 255, 1, '', ''],
Height (hh) => [6, 'numer', 40, 2, 1, '', ''],
Color => [7, 'alpha', 40, 255, 1, '', ''],
Markings => [8, 'alpha', 40, 255, 1, '', ''],
Sire => [9, 'alpha', 40, 255, 1, '', ''],
Dam => [10,'alpha', 40, 255, 1, '', '']
);
$db_key = 'Horse';
$db_key_track = 1;
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = ( Gender => 'Male,Female' );
$auth_user_field = 9;