Take a look at the helper functions, url and route, to make the urls.
https://laravel.com/docs/5.1/helpers#method-url or https://laravel.com/docs/5.1/helpers#method-route
How much values have you trying to pass on the $data array? Maybe we can find an alternate way to pass the values.
You're trying to pass an array through the GET method, remember that GET works like this:
-> http://www.yoursite.com/page.php?id=123&user=john
Where you are sending two variables through the url and can get the values like this:
echo $_GET['id']; // output 123
echo $_GET['user']; // output john
Right now I'm passing three pieces of information. However, eventually it will be more. Idk how many more pieces of info will need to be passed.
http://php.net/manual/en/function.http-build-query.php
http://us1.php.net/manual/en/function.parse-str.php
Also check serialize() and unserialize() will work the same way. Remember that using GET it will display all the values sent in the URL so no privacy should be expected.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community