Display teams

I have the fronted code to display a table of the teams registered.
I have the basic table for teams.
I just have to create a place to add teams to a tournament and query
the DB.