Welcome Guest, Not a member yet? Register   Sign In
Redirecting to the same page after edit
#5

[eluser]Dam1an[/eluser]
[quote author="steve_mock" date="1248833546"]Related:

Jumping to the appropriate page/offset immediately after a new record is inserted?

Sounds hard. But, thanks in advance.[/quote]

It's not really that hard
Once you insert a new item, you need to find out the totaly number of rows (you already do this when creating the pagination links) and divide that by however many items/page. That gives you the oage number, so just redirect to the pagination URL with that number as the last segment... make sense?


Messages In This Thread
Redirecting to the same page after edit - by El Forum - 06-26-2009, 11:26 PM
Redirecting to the same page after edit - by El Forum - 06-27-2009, 01:31 AM
Redirecting to the same page after edit - by El Forum - 06-27-2009, 02:31 AM
Redirecting to the same page after edit - by El Forum - 07-28-2009, 03:12 PM
Redirecting to the same page after edit - by El Forum - 07-28-2009, 03:20 PM
Redirecting to the same page after edit - by El Forum - 07-28-2009, 03:30 PM
Redirecting to the same page after edit - by El Forum - 07-28-2009, 03:46 PM
Redirecting to the same page after edit - by El Forum - 07-28-2009, 05:53 PM
Redirecting to the same page after edit - by El Forum - 07-29-2009, 03:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB