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 do we use inheritance in php?

1058


Tell me how to find current date and time?

1050


Which function is used to strip whitespace?

978


How do I find out the number of parameters passed into function9?

983


How to count all the lines of code in a directory and sub folder?

973


What is a php form?

1027


How can I find my php version?

1019


How easy is php?

957


What are the features and advantages of object-oriented programming in php?

946


What is the difference between pop3 IMAP and MAPI?

1067


What is inheritance in php with example?

1022


Is jquery better than javascript?

987


What is $_ post in php?

1089


When are you supposed to use endif to end the conditional statement?

948


how to detect a mobile device using php

1103