
Search In
Javascript provide us a push() method by using this method we can add new element in to the array.
Ex:-
var name = ["Amit", "Rohit", "Manoj"]; // existing array with names
name.push("Kapil"); // adding new element
Output:-
name array will looks
Hello Reader's!
In working PHP you might have seen the two common syntax $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']. They share similar name but they work different.
$_SERVER['SERVER_NAME'] gives the value of the server name as defined in h
A Scheduler helps to identify the necessary task, assigns a logical sequence to these tasks and monitor their execution. The main purpose of Scheduler is to identify tasks are on time.(Note: Tag is only used for the next Line).
There are two ways to
Indexes in MySQL can improve performance of specific queries Like as below Examples :
Syntax for creating index on one field:
CREATE INDEX indx_magrno ON EmplyeTable (EmplyeID);
These two indexes is supposed to hugely improve performance of INNER
Animations in Orthello
Orthello is a 2D Plugin in Unity 3D.It is used to develop 2D games in Unity 3D. It basically consists of animations and sprites and let them to interact with one another. In this blog I have discussed animations.
1)Animation
We usally wants to male a ul/li tree from an array having parent id within each individual record :
$subjecttopic=Array
(
[0] => Array
(
[id] => 52b28146f484a5a410000029
[name] => Addtion
[par
"C# Naming Conventions and Coding Standards"
Naming Convention:
Basicaly three types of naming conventions are used in C#, Camel, Pascal and Hungarian.
We should use PascalCasing for class names and method names:
Example:
Here, we are using both sessionStorage and localStorage to retain the values after refresh a div. The div named refresh (#refresh) get refresh after a time interval of 5s. Values in the array sort using updateContent(arr,$opts) function. These sorted
In this blog, We will see how to configure CSRF protection and how to make AngularJS allowed to send information with a CSRF token to the server.
In AngularJS, $http service reads a token from a cookie which is named by default XSRF-TOKEN and sets it
JavaScript consist many type of datatypes, like:
Boolean
Number
String
Array
Object
To know what operation you are going to perform on variables, you need to have the knowledge what is the data types of the variable you are using.
For example:
v
