470,647 Members | 1,247 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

select from drop list to fill table column with text -- HOW ?

I want viewers to compare state laws on a single subject.

Imagine a three-column table with a drop-down box on the top. A viewer
selects a state from the list, and that state's text fills the column below.
The viewer can select states from the drop down lists above the other two
columns as well. If the viewer selects only one, only one column fills. If
the viewer selects two states, two columns fill. Etc.

I could, if appropriate, have a separate htm page with the text for each
state -- california.htm for example. When the viewer selects California from
the drop down list, the column below would "fill" with California.htm.

Or, I could conceivably use a text or mysql database with two fields for
each record: state_name and law_text -- but it would probably be easier to
use separate htm files, since there will only be about 20 states involved,
and the "database" would never have a large number of records.
The table width would be 100% and each cell would be @33%

My site is designed with FP 2002 and runs on Apache/FreeBSD. I have just had
Apache-ASP installed but I have not yet configured or used the module.

Your suggestions would be tremendously appreciated !

Best wishes,

Richard Galli

We don't have thousands of books...
We have two books worth reading

Sign up for our newsletter

Jul 16 '05 #1
1 8045
4,258 Expert 4TB
I have a small testprogram who does exactly that with 1 html file per state and 3 drop-down columns in a 3-column table.

But it is very rudimentary and you'll have to adapt it yourself. It is 60 loc + 3 text files, so I can send it to you via email if you want it.

Ronald :cool:
Jul 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Richard Galli | last post: by
reply views Thread by owyn | last post: by
14 posts views Thread by Demetris | last post: by
6 posts views Thread by Chris Fink | last post: by
33 posts views Thread by Peter | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.