Hi,
I am trying to redirect the edit page for records that exist in different tables, based on a conditional.
If conditional 1 is met then the edit page for that record is opened in page1.php
If conditional 2 is met then the edit page for the record, (matching to id/fk), is opened in page2.php
I can do the redirect if the edit button is clicked, but I need the redirected page to open the edit page for the desired record.
Any ideas would be much appreciated.