Emojis or BMP character have more than three bytes and maximum of four bytes per character. To store this type of characters, UTF8mb4 character set is needed in MySQL. And it is available only in..
Read More » Posted on 2016-06-14 06:55:19PHP UTF8mb4 Emojis
When uploading a file from our machine, we browse to the files which shows all files of all file types in the opened directory. It makes tedious to find our..
Read More » Posted on 2016-07-16 08:29:10HTML Files
Permission denied issue mostly come in two cases, In first case, check the directory which you want to access have write permission To check, cd /opt/lampp/htdocs/parent-dir/ ls -al For image-dir directory..
Read More » Posted on 2016-05-05 08:39:27PHP Apache Ubuntu Linux
From an array, want to get first 5 elements with keys preserved. The array_slice() with 2nd and 3rd parameter will limit the array to get first 5 elements. $array =..
Read More » Posted on 2016-04-17 05:44:28PHP Array Array Slice
In PHP, trim(), rtrim() and ltrim() functions with character_mask that trim characters in all the possibilities ways of prefix. $my_text = 'Reading RBI books on travel is a best policy.'; #rtrim($string,..
Read More » Posted on 2016-05-25 07:14:21PHP Trim
Every website or blog is needed page count to show the top visiting pages. It helps visitors to look around the interesting posts and for analysis. Some methods are..
Read More » Posted on 2016-05-29 08:55:09PHP MySQL Web optimization
When using input type="file" for upload option in web pages we come across there is a raw Browse button with text near "No file selected". In well designed form it..
Read More » Posted on 2016-08-26 08:29:18CSS HTML5 HTML Files
Mostly JQuery receives response from the server as JSON data formate from PHP. But some times we need to send bunch of data to the server. For that this..
From MySQL version 5.6.+ allow to add multiple timestamp datatype column and can set Default as CURRENT_TIMESTAMP Previous versions of MySQL allow to add multiple timestamp datatype column but NOT..
Read More » Posted on 2016-06-14 06:51:05MySQL PHP
MySQL supported storage engines are, MyISAM InnoDB Memory CSV Merge Archive Federated Blackhole And, Most commonly using storage engines are InnoDB and MyISAM. Let see the Difference between them in the following table, Inno..
Read More » Posted on 2016-08-26 08:20:07MySQL MyISAM InnoDB Comparision