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

Why json is used in php?

940


Is array a key php?

911


What is the difference between query and question?

911


What is url encoding and decoding in php?

1033


Why do we need abstract class in php?

895


What is curl php?

961


What exactly is PHP?

962


What is the difference server side and browser side validation?

935


Name some of the constants in php and their purpose.

929


What are the 3 types of sessions?

986


Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?

1030


"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.

1898


Does php require a web server?

923


What is php artisan tinker?

918


Starting or restarting a computer is called

968