Zaryab_Liaqat Profile

Join Date:
2012-07-19
Blogs Owned
1. Technology
i write about tech alerts and updates for each field.
Latest Blog Posts
- Connections and chatWhile moving for the day when you need to go for some of time for your friends and folks to have and spend more time and yes in the mood of cherish and happy manner so we all time give value the moment when we are all to gather. In the term of resear...
- Divide array in chunks using array_chunk in PHPhttp://codingvilla.com/divide-array-in-chunks-using-array-chunk-php-single-article-683.aspx Purpose: The function array_chunk divide any array chunks of another array. It takes three parameters array_chunk(array,size,preserve_key). First param...
- Exchange keys with values in array using array_flip in PHPhttp://codingvilla.com/exchange-keys-with-values-in-array-php-single-article-684.aspx Purpose: The array_flip() function returns an array with all the original keys as values, and all original values as keys. It means array_flip function flip...
- Get all keys & values from array using array_keys, array_values in PHPhttp://codingvilla.com/get-all-keys-and-values-from-array-in-php-single-article-685.aspx Code: <?php $name["T"]="Tahreem"; $name["R"]="Rizwan"; $name["F"]="Fatima"; $name["M"]="Misbah"; print_r(array_keys($name)); ?> Output: &nb...
- Get arrays difference using array_diff_assoc in PHPhttp://codingvilla.com/get-arrays-difference-using-array-diff-assoc-php-single-article-686.aspx Purpose:The array_diff_assoc is used to compare two or more arrays. First array is the reference array, then other are compared arrays only one is...
- Arrays Intersection using array_intersect in PHPhttp://codingvilla.com/arrays-intersection-intersect-php-single-article-679.aspx Purpose: Array_intersect function takes two or more arrays and returns values that are same with first array. Code: 1. &nbs...
- Check key exist or not in array using array_key_exists in PHPhttp://codingvilla.com/check-key-exist-php-single-article-680.aspx array_key_exists: Code: 1. <?php 2. $names=array("t"=>"tahreem","r"=>"rizwan","a"=>...
- Count values in array using array_count_values in PHPhttp://codingvilla.com/count-values-array-php-single-article-681.aspx Purpose:array_count_values function counts the number of value occurrence in array. It takes one parameter that is array. array_count_values(array).Code:1. <?php2. $students=arr...
- Endswitch statement in PHhttp://codingvilla.com/endswitch-statement-php-single-article-669.aspx Switch statement:Switch statement is a type of a selection control statement that exists in most of the programming languages. When we have two options we use if else state...
- Switch statement in phphttp://codingvilla.com/switch-statement-in-php-single-article-670.aspx Switch statement:Switch statement is a type of a selection control statement that exists in most of the programming languages. When we have two options we use if else state...
- While loop in phphttp://codingvilla.com/while-loop-in-php-single-article-671.aspx this simple article you will learn that how we can use while loop in php.While loop:While loop is a control statement. While loop run the code when specified condition is true. The code...
- Reset array pointer in PHPhttp://codingvilla.com/reset-array-pointer-php-single-article-664.aspx In this simple article you will learn that how we can reset array pointer in PHP.Arrays:Arrays are just like the variable that store values but arrays can be used to store more th...
- Unpack values using unpack () in PHPhttp://codingvilla.com/unpack-values-using-unpack-php-single-article-665.aspx In this simple article you will learn that how we can unpack values using unpack () in PHP.Binary String:It is a sequence of bytes. Binary string holds non-traditional data...
- How to throw exception in PHP?http://codingvilla.com/how-to-throw-exception-in-php-single-article-666.aspx In this simple article you will learn that how we throw exception in PHP. Exception:Exceptions are the abnormal behavior of your code that was occurring unexpectedly. Except...
- Mobile Phone Is NeedWhere ever we talk about the technology and its all latest alerts where the mostly discussed its basic logics with advantages. What can be better for this youth who all time in favor of this latest tech?like in the modern era the cell phone and even...
- Accessing elements of multi-dimensional array in PHPhttp://codingvilla.com/accessing-elements-multidimensional-array-php-single-article-661.aspxArrays in php:Arrays are just like the variable that store values but arrays can be used to store more than one value. Variable only store one value. There ar...
- Share Love Via MobileIn any cases of life maybe most of times you feel some moment have strike glances over your life and being seconds. It can be most of time very hard and most of time can be craft most of soft and touch able scenes too. The main core is circumstances...
- Sort array in reverse order to maintain index association in PHPhttp://codingvilla.com/sort-array-reverse-order-php-single-article-656.aspx Arrays: Arrays are just like the variable that store values but we can use arrays to store more than one value. Variable only store one value. There are three...
- Create array using therange () function in PHhttp://codingvilla.com/array-therange-function-php-single-article-655.aspx Arrays in php: Arrays are just like the variable that store values but we can use arrays to store more than one value. Variable only store one value. There are...
- Iterating array using for and while loop in PHPhttp://codingvilla.com/iterate-array-while-loop-php-single-article-654.aspx Arrays: Arrays are just like the variable that store values but arrays can use to store more than one value. Variable only store one value. There are three types of ar...