|
Posted by Sonoman on 09/28/45 11:45
"Rich" <rich@newsguy.com> wrote in message
news:e236io0ku1@drn.newsguy.com...
> On Tue, 18 Apr 2006 11:52:59 -0400, Sonoman wrote...
>>
>>Hi all:
>>I have an approach problem and I would like to hear how would others
>>handle
>>this. I have a NAICS database which consists of all the business
>>categories
>>in the US, the respective code number and a text description. The number
>>is
>>a 6 digit number where the first two are the main categories, the third is
>>a
>>sub category and so on. I have this already broken down on the database.
>>
>>There are way too many records to have a user browse through the whole
>>thing, so what I though was to have a series 5 of drop down menus where
>>the
>>first has the main two digit categories and the others are blank. As soon
>>as
>>you selects a category from the first drop down the corresponding sub
>>categories will show on the second drop down and so on until the user
>>builds
>>the correct NAICS number based on the selections.
>>
>>My question is how to do this? I was thinking on storing the selected
>>values
>>on cookies so I can keep reloading the page with a button until I am done.
>>But this approach seems way too cumbersome.
>>
>>Any ideas?
>>
>>
>
> From my understanding you would use the setcookie() function to create
> one, and
> use the $_COOKIE array to retrieve the information. If you have a
> multi-step web
> form, it may work out better going that route, so there's less redundant
> queries
> to the database.
>
> Rich
>
> --
> Carry Forward Bandwidth! Included In All NewsGuy Accounts!
> Don't lose what you don't use! - http://newsguy.com/overview.htm
>
>
> --
>
Thank you Rich, I was planning on doing that but I wanted to find out if
there was a cleaner, more elegant way to do it. My way seems more like brute
force.
FC
Navigation:
[Reply to this message]
|