ksmatthews Posted February 25, 2008 Share Posted February 25, 2008 HI THere, I would like to call a script by appending an array of numbers. For example .. $myarray[] = (1,2,3,4,5); myfile.php?name=$myarray I would then like to read and use the contents of that array within myfile.php using $_GET['name']. I do not seem to be able to do this ... What am I doing wrong ? Steven M Quote Link to comment Share on other sites More sharing options...
priti Posted February 25, 2008 Share Posted February 25, 2008 i tried something like this http://localhost/test/test.php?name=1,2,3,4,5 adn in php file i did print_r($_GET); and output was Array ( [name] => 1,2,3,4,5 ) try like this and let us know your script's output. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.