
Search In
Constant value cannot be changed or undefined during the execution of script. By default constant is case-sensitive.
Constant cannot be defined by simple assignment, they may only be defined using the define() function.
Create a PHP Constant : defi
The std::stack class is a container adapter that gives the programmer the functionality of a stack - specifically, a FILO (first-in, last-out) data structure.
The class template acts as a wrapper to the underlying container - only a specific set of
Hello everyone ,
I was working on status bar and found that we could get the height of the navigation bar at runtime.
following is the code to get the height of the status bar.
private int getStatusBarHeight() {
int result = 0;
int resourc
Hi All,
I need to do the below requirement in my app.
When app is in background, call a webservice. This service will have an XML response containing new features of the app.
If there is some response, show it as a notification to the user.
This
Hello Reader's, If you want to know about shuffle function in PHP then this article is helpful for you.
Lets say you want to generate 100 numbers on a random basis, a good way would be to generate an array with the numbers in order, then shuffle it.
any_of function is used to test condition on the elements in a range[first,last), it will return true if the test condition is true for any of the element in the range, else it will return false or if the range is empty. To use this function we have
none_of function is used to test condition on the elements in a range[first,last), it will return true if the test condition is false for all of the element in the range or if the range is empty, else it will return false. To use this function we ha
In this tutorial you'll learn how to remove an object using content aware fill in Photoshop.
In the above photo, to select the girl, I'll pick quick selection tool to make a selection of the girl, then I"ll make a copy of the selection by click
Hello Reader's!
If you want to replace multiple sting with another multiple stings, then you use the JS function as below:-
Lets say a given sentence having strings.
var str = "I have a cat, a dog, and a goat."; //sentence to process
var mapObj = {
Below i have written the code for Login Authentication, this code will check that weather the entered name and password are there in database or not.
The following code will return true boolean value if the entered name and password exist in database
