Category: PHP

How to Create Custom module in Drupal 8

To create the custom module in Drupal 8 we have to follow the below steps:- Custom module folder structure custom field for content type modulename...

Unknown collation: ‘utf8mb4_unicode_ci’

“Unknown collation: ‘utf8mb4_unicode_ci’”. This issues occurs if you’re attempting to migrate from MySQL version 5.5.3+ to an older database. The utf8mb4 is new encoding type...

Numeric functions in php

is_numeric() The is_numeric function used to check that the value of a variable is a number or not. Syntax: is_numeric(var_name) Output: Value is a number...