How to run, execute insert query in Drupal 8
“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.
“
As per official bootstrap documentation about "sr-only CSS class": Always add labels Screen readers... read more
BrowserModifier:Win32/Neobar is malware which changes various browser data without notifying you. Windows... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
To remove Windows.old files, we must follow these steps: Press windows button and... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
Leave a Reply