![]() |
Failing to display multi-dimensional array data
I've retrieved data from an XML source which has generated the following associative array layout:
Code:
Array ( Code:
$box_data[xml][user][sid] However, I get: Array[user][sid] displayed. Am I missing something? When I try this through a seperate PHP page that simply echos that value of the array it displays how you'd expect. What am I missing? I'd be very gratful if you can help out. :) I've just this minute answered my own question. It may be worth modifying the "Custom pages" How-To to reflect that: If you wish to display a multidimensional array then treat it like an object, e.g. Code:
{$box_data['xml']['user']['sid']} Use curly braces. Use single quotes. |
All times are GMT. The time now is 06:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|