Hi guys - I just wanted to bump this as I still have not solved his issue which makes no sense.
To recap, I am sending a multi-dimensional array in web form to a 3rd party payment processing script as follows:
Code: Select all
<input type="hidden" name ="success_url" value="http://www.paymaster.com/index.php?mydata=<? print_r($_SESSION[del]); ?>">
When the payment is successful the the user is re-directed to the success page. I am testing the array has been passed successfully with:
Which outputs the whole array:
Code: Select all
Array( [0] => 2 [1] => John Smith [2] => A Company [3] => 1 High St [4] => [5] => Anytown [6] => Anywhere [7] => AB1 2CD [8] => UK [9] => 1234567890 [10] => email@email.com [11] => john [12] => smith [13] => 263 [14] => UK - Mainland [15] => 10.46 [16] => Goods [17] => 1 [18] => 2 [19] => 2 [20] => 0)
So far so good, but I only want to access the indexes one by one, so for example:
But instead of outputting '2' it outputs the first letter of array: 'A'.
This makes no sense at all - any experts care to help?
Thanks in advance,
Rob.