header('Location: ../pages/my-files.php?parent_id=' . $_POST['parent_id']);
The above should redirect the user when submitting the form using a hidden variable for _parent_id.
However, for some reason, the user is redirected (or seems to be browsing the browser URL) simply ../pages/my-files.php
Any ideas?
PS. I'm sure $_POST['parent_id']it matters.
source
share