• Hi.
    I’m creating a basketball website about nba etc.
    Because of this, the way the matches template display the game is incorrect. It displays like hometeam vs away team when it should be away vs home.

    I tried to change in the template but i could not figure out why it doesn’t work.

    I changed
    <?php echo $match->title;?>

    to

    <?php $dado=explode(" – ",$match->title,2);?>
    
    <?php echo $dado[0]; ?>
    <?php echo " - ";?>
    <?php echo $dado[1]; ?>

    However all the game name stays at $dado[0].
    I’m starting at php but I think they way i’m doing this is somewhat correct

    Thanks in advance.

    http://wordpress.org/extend/plugins/leaguemanager/

  • The topic ‘Changing games display’ is closed to new replies.