title: TeamSpeak: Query Number of Connected Clients
body: <p>I am currently using TeamSpeak's ServerQuery feature to display all channels and connected users via PHP on my website. Right now it looks like this: (apologies for the crude usernames/channel titles)</p>
  
  <p><img src="https://puu.sh/7OCLk.png"></p>
  
  <p>It works to display channels and user names. However, I do not want it to do this.</p>
  
  <p>Instead of showing all channels and user names that have connected, I would prefer it just to fetch the amount of users that are currently connected and the maximum amount of users that can connect and display them as seen above. (Along with the server status, i.e online or offline.)</p>
  
  <p><a href="http://tsstatus.sebastien.me/" rel="nofollow noreferrer">This</a> is the API I am using to connect to the TeamSpeak server via PHP.</p>