Category: Tutorials

Getting more complicated player stats with MySQL and PHP

In the last tutorial in MySQL, PHP and Sports Bench, we go over how to order data, limit it, and then create a small stats leaderboard to tie it all together.

Getting advanced player and team stats

So far we’ve learned basic MySQL and PHP commands to search, get and print data. Now we step it up as we combine tables to get stats and start to do cool things.

Getting players information with Sports Bench and MySQL

Now that we know what SQL is, how to use it and how to output it with PHP, let’s try the same with players in Sports Bench.

Using Sports Bench data with MySQL and PHP

In this second post in a tutorial on MySQL, we go through how to take the data we’ve searched for and print it onto the page with PHP and WordPress.

MySQL Tutorial: The basic introduction

MySQL is extremely powerful for web development, but can be tricky to learn. This tutorial will get you started on what it is, what it does and how you can use it.

Sports Bench theme and plugin on a laptop

Setting up support for different ages, grades and levels

Sports Bench doesn’t outright support different grade levels, but with a few adjustments, you can use the divisions and conferences to achieve your goal.

Scoreboard bar for Sports Bench

Adding the scoreboard bar to your theme

Almost all sports websites, such as ESPN, have a scoreboard bar at the top. And with Sports Bench, adding such feature takes only a couple of lines of code.

Custom game subclass for Sports Bench

Adding a custom game subclass for a specific sport

Sports Bench comes with five classes, but they’re most bland since the plugin covers five sports. But you can make a game subclass that adds more functionality to your site.

A player subclass for Sports Bench

Adding a custom player subclass for a specific sport

Sports Bench comes with five classes, but they’re most bland since the plugin covers five sports. But you can make a player subclass that adds more functionality to your site.