I have a php file that needs to redirect to another, but I need to pass an array to the second file. How can I do this.
I know this is wrong, but I need something l
Use http_build_query:
header("Location: someurl.php?" . http_build_query($arr));