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.
“
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
Try "keypress" evenHandler in jQuery: Notice Below Code, Although this code is correct... read more
The regex caused the error during validation check on Alphaspace Rules regular... read more
While Google is quite generous in giving each user a lot of... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
<!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- Optional... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
Leave a Reply