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...
How to add custom shortcodes to the visual composer using theme functions.php
Add the custom shortcodes in theme’s file ( functions.php) for visual composer. WordPress getting one of the user friendly CMS with admin controls which allows...
How to print even and odd numbers in php
To print even and odd numbers we can use different types of method. Method:1 Even numbers between 1 to 100 In first method we use...
How to upload zip file directly from URL to cPanel using PHP
To upload zip file directly from URL to cPanel using PHP, follow these steps: 1. Create a new file php at root folder named getzip.php,...
How to print stars along with there equal number
We can print a star pyramid pattern in php along with there row number using ‘for’ loops. To print this pattren we will use a...
How to print a triangular pattern in php
We can print this pattern in php. For this we need Variables and ‘for’ loops. First we have Variables in which Symbols are passing as...
How to use meta robots tags ?
Meta robots tag provides a utility of how a web page or post crawling and indexing in search engine and served to users. Add meta...
Top 5 wordpress security plugins
WordPress is the most popular blogging platform in the world. Millions of websites are using WordPress as a content publishing platform. WordPress is a secure...
How to add digits of a numeric series
We can print a numeric pyramid series and also can print the sum of every row using php code. We need two ‘for’ loops to...
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...
String functions in php
implode() The implode function used to concatenate the array elements as a string with a separator. Syntax: implode(separator, array) Output: Apple,Boy,Cat,Dog explode() This function is...
How to print a numeric pattern
We can print this pattern in php. In this pattern we divide our program in two parts. In first part we are using two ‘for’...