
Search In
“$scope” is an object instance of a controller. “$scope” object instance is created when the “ng-controller” directive is called.
The $scope object that is used by views is organized into a hierarchy. Firstly, there is a root scope, and then root sc
Joins in database, We can easily determine the meaning of joins very easily. In database we use the concept of joining in tables to fetch the data combination. There
are different type of methods of joining two or more than two tables in database. Y
Template is one of the type of Joomla Extensions. It represents your site look i.e., layout of your site. Templates are of two types: one is Front-end Templates and other is Back-end Templates.
Template Types
Front-end Templates:
Front-end templat
1> To delete an element from an array, use reject as shown below:
arr = ['a','b','c','d','e']
arr.reject! { |i| i.match('d')}
Result :=> ["a", "b", "c", "e"]
2> To delete particular keys from the array whose elements are also arrays,
The strcmp is a string function in php which compares the two strings. strcmp is a binary-safe and case-sensitive function.This means the comparison is case sensitive.
The syntax of strcmp:
strcmp(string1,string2)
Here, the string1 is the one wh
/* A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application.*/
Two things are to be kept in mind ::-
Metadata Management:-
There are a few guidelines of creating meta data. We must see that tags that we create should be inside the if it is a webpage.
Also we need to provide meta data in pairs of name and values.
Meta data is of two types, one whic
Hello Readers ,
Suppose we have two array's .
$fname=array("Peter","Ben","Joe");
$age=array("35","37","43");
The array_combine() function creates an array by using the elements from one "keys" array and one "values" array.
Example :
<?php
$f
Hello friends,
If you want to combine 2 arrays in which 1 is used as a key and another as value then you can use a predefined PHP function which is "array_combine". array_combine function creates an array by using one array for keys and another for
Hi Readers,
If you are new to Laravel you will definitely come across two properties in the model one is Fillable and another one is Guarded. I myself did not get the use of these properties but once I get along I understood the actual use of thes
