I have a problem going through my tableLegs for a bus schedule to find an array of legID legs that the passenger will have to take to get from a to b, for example, the passenger wants to start with LocID of c and move to LocID of p , I would wanted the leg array to make that legID ( 01 , 02 , 04 ), hope this is easy enough to follow.
tableLegs
tableLegStops
To give you a reason for what I'm trying to achieve here, this is for the bus site, where each ride consists of different legs.
source share