
Search In
Hello EveryOne....
Here is the scenario.,
In MySql database, I have two tables.. User and UserDetails...
In 'User' table, i had generated userID made it as a primaryKey.
For Example, 101->user1.... 102->User2
Now I need to Inser
Can any one give me the idea. How I can detect collision between 2 dom element. I have got this code form MDN. But can't go thorough it. Please help me.
var rect1 = {x: 5, y: 5, width: 50, height: 50}
var rect2 = {x: 20, y: 10, width: 10, height: 10
Hello Reader!
Getting last the key index of any array PHP can be done on several ways as follows:-
Lets consider an example array $MyArray
$MyArray = array(
'one' => firstelement,
'two' => secondelement,
'three' => lastelement
Sometime, we need to remove or replace some particular character from a String.
Below is the method by which we can accomplish this. I am using replaceAll() method of the String.
replaceAll() have two parameter as an arguments. First one is the lis
It is a series of Whole number where we have to find sum of the two preceding numbers. It Begins with 0 and 1, the sequence goes like this 0,1,1, 2, 3, 5, 8, 13, 21, 34, etc. using the formula n = n(-1) + n(-2), where the n(-1) is the the last
If you want to store Javascript objects in local storage, you can use HTML5 local storage.
Here is the code :-
var dashboard-data = { 'one': 1, 'two': 2, 'three': 3 };
// Put the object into storage
localStorage.setItem('dashboard-data', JSON.stri
Method to get a value from plist
NSString *path = [[NSBundle mainBundle] pathForResource:@"PlistX" ofType:@"plist"];
NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path];
int number = [[[[dict objectForKey:@"One"] objec
While sending internal message on a system people usally share there phone number and making call outside the system which divert traffic from our system. So while exchanging messages within system we need to hide the phone number. This can be achiev
prototypical inheritance... We have used many different types of inhertance which are based on classes but today we are going to discuss the prototypical inheritance in javascript. It is based on objects, you can simply inherit one object to other ob
You can use basic math operations to numerical values and colors. if we want to have two divs placed next to each other, the second one with a different background.
@div-width: 100px;
@color: #03A9F4;
div{
height: 50px;
display: inline-block;
}
