hey,
how can i return multiple records from a database to an ajax application in json? this is the code im using at present but it only returns one record:
$r = mysqli_query($dbc, $q);
$records = json_encode(mysqli_fetch_object($r));
print($records);
thanks.