"There may be several other possible ways, but I know one simple one and sticked to it. $db = \Drupal::database(); $db->insert($table_name)->fields($fields_array_key_value_pair)->execute(); Thats it. "
"There may be several other possible ways, but I know one simple one and sticked to it. $db = \Drupal::database(); $db->insert($table_name)->fields($fields_array_key_value_pair)->execute(); Thats it. "
#CMS
#Drupal
#Web Development
Share this post