You are here

function token_custom_load in Custom Tokens 6

Same name and namespace in other branches
  1. 7.2 token_custom.module \token_custom_load()
  2. 7 token_custom.module \token_custom_load()
1 call to token_custom_load()
token_custom_delete_form_submit in ./token_custom.module

File

./token_custom.module, line 89
The Token Custom module.

Code

function token_custom_load($tkid) {
  if (is_numeric($tkid)) {
    $row = db_fetch_object(db_query("SELECT * FROM {token_custom} WHERE tkid =%d", $tkid));
    return $row;
  }
  return FALSE;
}