How can i display an array onto a html table?
The array i am trying to put onto a table is being pulled from another server.
If you want to see what it's like at the moment, you can see here
"and just pick the 4 checkboxes and input into the text box "Shadowrider50".
It looks very messy without a table or some sort of organization
Display array onto html table
Moderator: General Moderators
-
Shadowrider50
- Forum Newbie
- Posts: 5
- Joined: Sat Jan 28, 2012 3:00 am
-
Shadowrider50
- Forum Newbie
- Posts: 5
- Joined: Sat Jan 28, 2012 3:00 am
Re: Display array onto html table
Hi,
Thanks for the answer,
i just read up on how to reference single elements from arrays and i've got it working now
I'm using it this way now
$getCount has the array stored of trophy information and i just store a single part of that array into $trophyplatinum.
I do the same for all other parts of the array.
This way i can use them anywhere easily by just calling that variable
Thanks for the answer,
i just read up on how to reference single elements from arrays and i've got it working now
I'm using it this way now
Code: Select all
$trophyplatinum = $getCount["0"][platinumtotal];I do the same for all other parts of the array.
This way i can use them anywhere easily by just calling that variable