mysqli to json
J need help to get a json result from this mysqli query:
<?php
$rs_clienti = new WA_MySQLi_RS("rs_clienti",$Con2164,20);
$rs_clienti->setQuery("SELECT `UserID`,`UserFirstName`,`UserLastName`,`UserPhone` FROM users");
$rs_clienti->execute();
?>
How is the correct way?
Thanks