Rainrays Profiles
   Super Hit Music FM Radio | Submit Your Free Ads | Tours & Travel India

Home rainrays profile world Contact Us Online Free Marketing Aadhaar Card Online Free Marketing Pregnancy & Care Online Free Marketing Tour n Travel Free Ads with rainrays Festivals  Tourist Attraction India Pincode India  Tourist Attraction India Tourist Attraction India Jobs Herbalife Club Online Fm radio Recipes Jobs Select Babies Name

Custom Search
More Topics...
  Pregnancy tips and care  Pregnancy tips and care
 YouTube Videos YouTube Videos
  Hospitals & clinics in India Hospitals & clinics in India
  Hospitals & clinics in India World Travel Tips
 Kitchen Dictionary Kitchen Dictionary
 Recipes Recipes
 Personality Personality
 Institute/Colleges Institute/Colleges
 Indian Festivals Indian Festivals
 University University
 Restaurant Restaurant
 Districts List in India Districts List in India
 Districts Profile of India Districts Profile of India
 Hotels Hotels
 Love dating and Romance Love dating and Romance
 Baby name list Baby name list
 Jobs by location Jobs by location
 Jobs by Keyword Jobs by Keyword
 Jobs by Function Jobs by Function
 Jobs Part Time Jobs Part Time
 Shayari Shayari

Best Indian Tours
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 Religious Tours International Tours
 Religious Tours Indian Tours for Overseas


 Topic » Language » PHP » Array

 array_unique(), array_unshift(), array_values(), array_walk()
array_unique([$arr]) remove duplicate values from an array "aa","b"=>"bb","c"=>"aa");     print_r(array_unique($arr)); ?>    o/p: Array ( [a] => aa     [b] => bb ) array_unshift([$array],[$val],[$val2],[$val3...]) $arr    Required. an array $val1    Required. Specifies a value to ins..
 array_reverse(), array_search(),array_slice()
array_reverse([$arr])   "a","b"=>"bb","c"=>"ccc");     print_r(array_reverse($arr)); ?> o/p: Array ( [c] => ccc [b] => bb [a] => a ) array_search() This function search array for any value and return key value array_search([$val],[$arr]) Example "a","b"=>&..
 array_merge(), array_pop(), array_push(), array_rand()
array_merge() :  merges one ore more arrays array_merge($arr1,$arr2,$arr3...)   Example "aaa","x"=>"bbb"); $arr2=array("y"=>"ddd","z"=>"ccc"); print_r(array_merge($arr1,$arr2)); ?>   o/p: Array ( [w] => aaa [x] => bbb [y] => ddd [z] => ccc )   array_pop() : Remove last element of array   Example  
 Difference bewteen array_key_exists() and array_keys()
 Bool array_key_exists([$key],[$arr])   $key is required. For check key is exist in array key list $arr is required. Array have a key list   Example    "Somesh","b"=>"Birjesh"); if (array_key_exists("a",$arr))  {  echo "Key exists!";  } else  {  echo "Key does not exist!";  } ?>   O/p: Key exists! &n..
 Function array_flip()
 array_flip($arr) $arr define as $key->$val  $arr=array_flip($arr); $arr will show output like $val->$key  Example "kumar",1=>"Brijesh",2=>"kamal",3=>"Pankaj"); print_r(array_flip($arr)); ?> o/p: Array ( [kumar] => 0 [Brijesh] => 1 [kamal] => 2 [Pankaj] => 3
 Functiion array_fill()
 array filled with the user define value.   array_fill([$start],[$num],[$value]) $start : is required numeric value $num : is erquired numeric value $value is optional Example o/p:   Array ( [4] => Pankaj [5] => Pankaj [6] => Pankaj )  
 array_count_values():Number of occurrences for each value in array
 array_count_values():Number of occurrences for each value in array   array_count_values($arrrr) Example   o/p:  Array ( [Amit] => 2 [Kumar] => 1 [Somesh] => 1 [Shyam] => 1 )
 array_chunk():Array splits into chunks of arrays
 array_chunk([$array],[$size],[$key])   $array, $size are required field, and $key is optional $size is numeric value define no. of element in new array Example:   "a","1"=>"bb","3"=>"ccc","4"=>"dddd"); print_r(array_chunk($a,2)); ?>   o/p: Array (  [0] => Array ( [0] => a [1] => bb ) [1] => Array ( [0] => ccc [1] => dd..
 array() useing we can create an array. array(key => value) key: this is optional. Default key in array are 0,1,2,.... value: this is a required part   Example  "a","B"=>"bb","C"=>"ccc");    print_r($arr); ?> o/p: Array ( [A] => a [B] => bb [C] => ccc ) 
Special Tours Type India
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 International Tours International Tours
 Tours for Overseas Indian Tours for Overseas
More on rainrays.com
Top Links : FM Radio | Contact us | About us | Privacy & Policy | Terms & Condition | Extract Email | Submit URL to Search Engine | Sitemap
Net Search : For Cooking | Word Dictionary | Encyclopedia Search | Find Location by MAP | Find a Person | Find Your Shipping | Stock Market | Language Converter
Jobs : Jobs by Location | Part Time Jobs | Jobs by Function | Jobs by Keyword | Jobs Out of india | Jobs Search Engine
Other Links
    Girl baby Names | Boy baby Names | Love dating and Romance | University | Restaurants in India | Hotels in India | Hospitals & clinic
    Coaching Institute | Educational Institution | School/Colleges by Loaction | Recipes | STD Code | PHP
PHP Interview Question | Indian Festivals | Districts Profile of India | Kitchen Dictionary

Copyright © 2010 --- All Rights Reserved