I think the only issue is that the recordset was only returning one result. I updated line 7 from:
$kshoc = new WA_MySQLi_RS("kshoc",$connmysqli,1);
to:
$kshoc = new WA_MySQLi_RS("kshoc",$connmysqli,0);
That should make it return all results instead of just the first row.