Rainrays Profiles
   Pregnancy & Care | 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 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

array_unique(), array_unshift(), array_values(), array_walk()

  Topic » Language » PHP » Array
Post By : Rainrays At 0000-00-00 00:00:00

remove duplicate values from an array
o/p: Array ( [a] => aa     [b] => bb )


$arr    Required. an array
$val1    Required. Specifies a value to insert
$val2    Optional. Specifies a value to insert
$val3    Optional. Specifies a value to insert

o/p: Array ( [0] => aa [a] => bb [b] => cc )

return the values of an array


o/p: Array ( [0] => a [1] => bb [2] => ccc )


array               Required. Specifying an array
function          Required. The name of the user-made function
parameter     Optional. Specifies a parameter to the user-made function

    function func($val,$key)
            echo "The key $key has the value $val

The key a has the value Cat
The key b has the value Dog
The key c has the value Horse

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");


Refer to Friend

  Rainryas information World

Share Info/View About Profile Or Any Comment

Your Name:*  
Other Topic
Kolkata :: Narula Institute of Technology
Cabbage Chana Dal Salad
Memorial of Tansen Gwalior
Chemist jobs in India
District Dindori
Create Your Profile in Category » Array
Related Content..
 48  array_merge(), array_pop(), array_push(), array_rand()
 47  Difference bewteen array_key_exists() and array_keys()
 42  array()
 43  array_chunk():Array splits into chunks of arrays
 46  Function array_flip()
 45  Functiion array_fill()
 52  array_reverse(), array_search(),array_slice()
 44  array_count_values():Number of occurrences for each value in array
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 : Contact us | About us | Privacy & Policy | Terms & Condition | Extract Email | Submit URL to Search Engine
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 | Pregnancy & Care
    Coaching Institute | Educational Institution | School/Colleges by Loaction | Recipes | Std Code | PHP | Products | Links | PHP Interview Question

Copyright © 2010 --- All Rights Reserved