| Versions | |
|---|---|
| 4.7 – 5 | db_result($result, |
| 6 | db_result($result) |
*
*
$result
includes/
<?php
function db_result($result, $row = 0) {
if ($result && mysqli_num_rows($result) > $row) {
$array = mysqli_fetch_array($result, MYSQLI_NUM);
return $array[0];
}
}
?>