You are here

function imageblock_get in Image Block 6

Returns information from database about a user-created (custom) image block.

1 call to imageblock_get()
imageblock_block in ./imageblock.module
Implements hook_block().

File

./imageblock.module, line 232
imageblock.module Primarily Drupal hooks.

Code

function imageblock_get($bid) {
  return db_fetch_array(db_query("SELECT * FROM {imageblock} WHERE bid = %d", $bid));
}