dear all, I have made a look-up talbe in php that reads from a sql table.
one table, pair has pair_id as the primary key
one table, pairHistory has actions when information for a pair_id changes
and the look-up table logs the transactions, the many to one relationship pair id, a classic many to one relationship.
What I need: a php or sql function that iterates throu the sql table each time I call it or a way to do that.
Lookup table pairHistoryLookup:
pairId****HistoryId
15********4
15********5
19********6
15********7
how can I get each row for pairId 15, one by one?
Please help!
mrchibi@hotmail.com