function _simpleads_insert_block in SimpleAds 7.2
Insert new block.
1 call to _simpleads_insert_block()
- simpleads_new_block_form_submit in ./
simpleads.admin.inc - Save new advertisement block.
File
- includes/
helper.inc, line 233 - Helper functions.
Code
function _simpleads_insert_block($record) {
return db_insert('simpleads_blocks')
->fields($record)
->execute();
}