Gossamer Forum
Home : Products : DBMan : Discussions :

DBMAN questions

Quote Reply
DBMAN questions
1. I already have a database. It's just a flatfile. Can I import it to DMman?

2. Do I need other scripts to interact with the database?
I want users to be able to:
Search the database with a keyword. But when it searches it can only search on field. like "Software_Company"

I also want a alphbetical listing on the database. Can this be done with DbMan?

Quote Reply
Re: DBMAN questions In reply to
1. Yes - just setup dbman with the correct fields in default.db to match your existing database.

2. Easy. The default search is by specific field(s). Just modify your html.pl to make the templates display the options you want available.

Alphabetical is also built in. For example:
/db.cgi?db=default&view_records=1&Title=^A&re=on&sb=2&so=ascend

will show records with a Title starting with A in ascending order.

The three best resources are
http://webmagic.hypermart.net/dbman/
http://www.gossamer-threads.com/scripts/resources/DBMan/
http://www.jpdeni.com/dbman/