You are here

function hosting_db_server_insert in Hosting 5

Implementation of hook_insert().

1 call to hosting_db_server_insert()
hosting_db_server_update in db_server/hosting_db_server.module
Implementation of hook_update().

File

db_server/hosting_db_server.module, line 171

Code

function hosting_db_server_insert($node) {
  db_query("INSERT INTO {hosting_db_server} (vid, nid, db_type, db_user, db_passwd) \n      VALUES (%d, %d, '%s', '%s', '%s')", $node->vid, $node->nid, $node->db_type, $node->db_user, $node->db_passwd);
}