Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have 10 elements of Array, how can i remove 5 array
element, with single function.

Answer Posted / pankaj

NO Dear vipul Both have great diff. array_slice and
array_splice first one remove from start and return
remaining while second one will have value in array not
remaining.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between print_r and echo in php?

860


Does php support inheritance?

894


What is var_dump function in php?

1048


What is the difference between explode() and split() functions?

993


How can we change the maximum size of the files to be uploaded?

986


What is difference between readonly and constant?

958


What is inheritance in php?

1019


How to convert one date format into another in php?

869


Is server side a session?

902


Where do we use get and post?

942


for image work which library?

932


What do the initials of php stand for?

1011


What is php namespace?

939


How do we get the current session id?

977


Tell me which function gives us the number of affected entries by a query?

978