Title: Custom Table
Last modified: August 21, 2016

---

# Custom Table

 *  [CodeNameV](https://wordpress.org/support/users/codenamev/)
 * (@codenamev)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/custom-table-1/)
 * Is it possible to create a custom table to display data like below
 * first columns team names
 * columns 2-X would display the date or week number
 * Last couple of columns would show the W L T
 * [http://wordpress.org/plugins/leaguemanager/](http://wordpress.org/plugins/leaguemanager/)

Viewing 1 replies (of 1 total)

 *  [erknrio](https://wordpress.org/support/users/erknrio/)
 * (@erknrio)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/custom-table-1/#post-4075917)
 * The short answer: yes! The long answer:
 * In the standings php file that you use, at the end insert this code:
 * `<?php var_dump($team); ?>`
 * With this code you can see all the variables stored in $team like, won, lose 
   and tie matches. For example:
 * With this code you can show the done matches:
    `<?php echo $team->done_matches?
   ></td>`
 * With this code you can show the won matches:
    `<?php echo $team->won_matches ?
   ></td>`
 * With this code you can show the tie(draw) matches:
    `<?php echo $team->draw_matches?
   ></td>`
 * With this code you can show the lost matches:
    `<?php echo $team->lost_matches?
   ></td>`
 * I hope I can help you :).

Viewing 1 replies (of 1 total)

The topic ‘Custom Table’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leaguemanager.svg)
 * [LeagueManager](https://wordpress.org/plugins/leaguemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaguemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaguemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/leaguemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaguemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaguemanager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [erknrio](https://wordpress.org/support/users/erknrio/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/custom-table-1/#post-4075917)
 * Status: not resolved