PHP array types

Mainly two types of Array in PHP SINGLE ARRAY/ SINGLE DIMATIONAL ARRAY MULTIPLE ARRAY/ MULTI-DIMAINTIONAL ARRAY This two types of the array divided into two types of INDEX ARRAY/ NUMERIC ARRAY & ASSOCIATIVE ARRAY. Single Array In the single array, we can store multiple values in one variable. Example

Like a fruits array store … Read more

Categories php

Array in PHP

An array is a data structure or a collection of data that contains a group of elements under same name. Typically these elements are all of the same data types or different data types. for example:If a complex has thirty flats each flat having same features then the whole complex is considered to be an … Read more

HTML del tag

HTML del tag is used to represent set of characters deleted from the document. The characters inside the del tag are represented as text with centre line(text with strukethrough line). Syntax:

Example:

Result:

Linux and Unix ls command tutorial with examples

ls command list all the file and directory name present in the current directory. Syntax:

Example: Print the name of all the directory and file available in the current directory.

Above command display four file and directory name. Check availability of file or directory: We can check whether a particular file or directory … Read more

Linux and Unix rmdir command tutorial with examples

rmdir stands for remove directory. In the UNIX file system, we can remove directory by using rmdir command. Syntax:

Note: In above syntax in the place of [directory name] we will specify the name of the directory to be removed. Example:

The directory abc is removed. To confirm directory is created press “ls” … Read more

SETS

A set is a well defined collection of objects. The collection member is called number, object or element . We shall denote sets by capital alphabets eg. A,b, ——- & The elements by the small alphabets e.g- a,b,c,—————- z Some reserve letters for these sets. N: for the set of natural numbers {1,2,3,4,5,6,……………….} Z: for … Read more

Switch Statement in Java

Switch Statement in Java provides a way to select one option among multiple options. In Java switch statement it provides multiple case statement  based on switch expression the appropriate case statement is get executed Syntax of switch statement

The switch expression work with primitive byte short int, char and with its wrapper class, enum … Read more