There are many ways to pass an object to a fragment. Serializable class is often used.
When your app consists of many modules and each module contains several fragments, you will need to hide or show menu items depending on the showing fragments.
Maximum upload file size is determined by 2 settings in php.ini file. They are upload_max_filesize and post_max_size.
There are 2 ways to add zeroes to a number in Kotlin.
array_unique() function can remove the duplicate elements or values from an array. It takes an input array and returns a new array without duplicate values.
jQuery has :checked selector which works for checkboxes, radio buttons, and options of select elements. It returns elements that havechecked attribute as true.
To remove the last character from a string in PHP, we can use these functions: rtrim, substr, and mb_substr.
Following are 2 simple ways to get input data from a form in CodeIgniter.