db_result($result, $row = 0)
drupal/includes/database.mysqli.inc, line 174
$result
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
function db_result($result, $row = 0) {
if ($result && mysqli_num_rows($result) > $row) {
$array = mysqli_fetch_array($result, MYSQLI_NUM);
return $array[0];
}
}