I have an array variable of filenames and other stuff in one php file. I am trying to pass that variable to another php file but it's getting lost in translation. The line that generates the call is this, and it correctly opens my other file when I click on the link.
Which generate this URL
Which seems correct.
Here is the code output
<?php echo "Hello World!"; ?>
<?php echo $art[$row]; ?>
Hello World prints correctly but the echo is missing for the array data.
How do I make the array visible in my subroutine? Do I need something to read it from the request? Also do I need to define my subroutine as a function?