
Search In
Sort function is used to sort a given range in ascending order. This function is defined in the header algorithm.
There are two version are defined of it.
template< class RandomIt >
void sort( RandomIt first, RandomIt last );
template< cla
Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag.
<manifest ... >
<supports-screens android:s
Hello Everyone, I am here to teach you how to remove parent theme menu in child theme wordpress.
The below code is in your parent theme for register the menu.
add_action( 'after_setup_theme', 'register_themename_menu' );
function register_themenam
Below I am writing a method that will hide the soft keyboard in android.
I just use hideSoftInputFromWindow() method of InputMethodManager in this method.
public static void hideKeyboard(Activity activity) {
//start with an 'always hidden
On selecting the data from MySQL if we are required to limit the data but also it is needed to start from some offset only not from the first record, then there we can add OFFSET in the clause of the query.
Lets take an example where we required 10
Hello Readers if you want to send the array into another PHP page then you can use the code below:-
I have array made by function .push. In array is very large data. How is the best way send this to PHP script?
dataString = array(a->b); // arra
In PHP, to search for a specific text within a string a function strpos() is used. It includes 3 parameters:
string: It is required parameter which specify the string to search.
find: It is also a required parameter which specify the string to find.
The filemtime() function is used to get the modification time of the file i.e., the time file was last modified.
Syntax:
filemtime($filename);
In above function there is only one parameter which is the name of the file you want to get the modifica
While assigning data types when we have large bulk of data we select the data type accrodingly.
If our integer value have data that is out of range hen we will store it in another data type called object and that process is also called as boxing.
Enumeration is a named value which is used to allocate various constant values to a single variable. This makes the program more easier to understand and maintain. Enumeration is also having better error checking techniques which additional security.
