function db_result

7.x db_result($res)
6.x db_result($res)
4.x db_result($resource_handler)
5.x db_result($res)

Returns back the first result from a resource_handler.

6 calls to db_result()
admin_display_watchdog in modules/admin/admin.module
Displays recent watchdog entries, from the watchdog table
db_get_user_id in includes/
Look up the user_id based on the the user_name. Returns FALSE if it cannot find it.
db_get_user_id_from_cwid in includes/
user_edit_student_user_form_validate in modules/user/user.module
Validate handler for editing student users.
user_edit_user_form_validate in modules/user/user.module
Validate handler for editing faculty users.

... See full list


includes/, line 201
This file contains mostly db shortcuts.


function db_result($resource_handler) {
  $cur = db_fetch_array($resource_handler);
  return $cur [0];