You can easily modify the .cfg file to only show one record at a time by changing:
$db_max_hits = 1;
which will show one record at a time.
You can remove the display of what is seen on the output display for sub html_record in your html.pl file by making the modifications to
sub html_view_success
but be sure to leave &html_print_headers; in tact.
Try commenting out the other portions you don't want to see, such as to view the next page. Or if you only want admin to view this then enclose those portions in:
|;
if ($per_admin) { print qq| The codes you want admin to see goes here |;
print qq|
For your links if you want these to link to a specific record then I would suggest using a Record ID as your key field and then you can directly access each record by including the ID number within the link. For example if you are calling up record number 1:
cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&ID=1
You could also use a title field or any other reference that would be unique to a specific record. The page should load quicker using a relative url in your drop-down list.
Hope this helps
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/
$db_max_hits = 1;
which will show one record at a time.
You can remove the display of what is seen on the output display for sub html_record in your html.pl file by making the modifications to
sub html_view_success
but be sure to leave &html_print_headers; in tact.
Try commenting out the other portions you don't want to see, such as to view the next page. Or if you only want admin to view this then enclose those portions in:
|;
if ($per_admin) { print qq| The codes you want admin to see goes here |;
print qq|
For your links if you want these to link to a specific record then I would suggest using a Record ID as your key field and then you can directly access each record by including the ID number within the link. For example if you are calling up record number 1:
cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&ID=1
You could also use a title field or any other reference that would be unique to a specific record. The page should load quicker using a relative url in your drop-down list.
Hope this helps
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/