riotgrrl
07-20-2004, 08:20 PM
If someone could explain this to me, words could not express my appreciation!
I have a page, which, depending on the information submitted, inserts that info into 1 of 3 tables. When the page reloads, I write out that information to the screen. All rows are linked by an ID number.
I do a select immediately after the insert to get all the rows (across the 3 tables) belonging to that ID number.
The problem is, it does not return the most recently inserted record, so I am always 1 behind. For instance, I have just inserted record 5, and it returns 1 to 4, even though I can see record 5 sitting there in table.
Could someone tell me why this is?
:confused:
I have a page, which, depending on the information submitted, inserts that info into 1 of 3 tables. When the page reloads, I write out that information to the screen. All rows are linked by an ID number.
I do a select immediately after the insert to get all the rows (across the 3 tables) belonging to that ID number.
The problem is, it does not return the most recently inserted record, so I am always 1 behind. For instance, I have just inserted record 5, and it returns 1 to 4, even though I can see record 5 sitting there in table.
Could someone tell me why this is?
:confused: