My apologies for posting this, seems I just needed to think a bit harder.

Unless I've missed something, my own solution in the previous post has worked well for me, albeit a little bulky (lots of checking to see whether the $_POST() or the $_GET() variable needs to be used).

Thanks anyway!