Subject Re: [firebird-php] Clickable returned records
Author Lester Caine
Sakhile Njoko wrote:
> I am trying to select a record/s that a user can click and further record/s can be returned.
> Say, a list of departments is displayed and a user clicks on Department1, which leads to Divisions 1 to 3 being displayed and Division2 is clicked and its Units are then displayed.
>
> Department1 ------->Division1
> ------->Division2 ------>Unit1
> ------>Unit2
> ------->Division3

There are a lot of ways of doing this, without knowing where you are starting
from it's difficult to even provide examples. My own method of working for this
type of tree structure is to provide an 'id' in the post information, so
clicking on 'Department1' redraws the page with the 'Department1' view.

If you want these to 'pop-out' on the current page, then we need to start
looking at javascript and AJAX types of approaches.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php