You are here

function beautytips_manager_get_custom_tip in BeautyTips 6.2

Same name and namespace in other branches
  1. 8 beautytips_manager/beautytips_manager.module \beautytips_manager_get_custom_tip()
  2. 7.2 beautytips_manager.module \beautytips_manager_get_custom_tip()

Retrieves a single custom beautytip.

2 calls to beautytips_manager_get_custom_tip()
beautytips_manager_admin in ./beautytips_manager.module
Form for configuring custom beautytips.
beautytips_manager_delete_confirm_form in ./beautytips_manager.module
Confirm form for deleting a custom beautytip.

File

./beautytips_manager.module, line 418

Code

function beautytips_manager_get_custom_tip($bid) {
  $sql = "SELECT *\n          FROM {beautytips_manager}\n          WHERE bid = %d";
  return db_fetch_object(db_query($sql, $bid));
}