/    Sign up×
Community /Pin to ProfileBookmark

plz help with multidimensional array

hi,

I am trying to display a multidimensional array in a html table.The structure is like below.

[CODE]Array
(
[az] => Array
(
[dsdsds] => Array
(
[2010-02-02 2:47 PM 2010-02-02 2:55 PM] => 8
)

)

[an] => Array
(
[sdsdsdsdsd] => Array
(
[2010-02-02 1:47 PM 2010-02-02 2:47 PM] => 60
)

)

[mu] => Array
(
[sdsdsd] => Array
(
[2010-02-02 1:30 PM 2010-02-02 2:48 PM] => 78
)

)

[raj] => Array
(
[dsdwew] => Array
(
[2010-02-02 3:34 PM 2010-02-02 3:40 PM] => 6
)

[cdsfdfdfd] => Array
(
[2010-02-02 3:25 PM 2010-02-02 3:35 PM] => 10
)

)

)[/CODE]

Please suggest me how can I display the usernames to column and left in the rows.

Thanks
Raj

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogFeb 03.2010 — What is the desired result for the provided example?
Copy linkTweet thisAlerts:
@raj_2006authorFeb 03.2010 — Hi...many thanks for your post


I would like to make it in a html table which will be like this


[CODE]Slots User1(az) User1(an) User1(mu) User1(raj)
8-9am aaa bbb cccc dddd
9-10am -- -- -- kkkk
so on....[/CODE]
×

Success!

Help @raj_2006 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...