I suggest you need a middleware product such as ASP, Cold Fusion or PHP. These run on your server and can read / update DBs and build pages dynamically depending on the contents of the DB, the previous history of the session, etc.
Which product you choose depends on your environment and objectives. I suggest you search the web for articles comparing these products. [sig][/sig]