Viewing 1 replies (of 1 total)
  • 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.