You can create a pseudo-query waiting for the answer from a new script at the server's side. The answer should have in its line's beginning, a number for e.g., corresponding to the spinner you wish to populate.
Example:
client's side query -> get all three spinners
server's side -> execute those three queries, fetch data to an array with 1,2,3 in every line's front.
client's side -> populate accordingly
Careful with this, escape appropriately, to avoid any sort of injections.