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

Do you know what is the use of rand() in php?

1036


What is a php 5?

1150


Write a query to find the 2nd highest salary of an employee from the employee table?

1084


can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????

1923


How do I know my xampp version?

1065


What are the three classes of errors that can occur in php?

1068


How to convert strings to numbers in php?

1184


Differences between get, post and request methods ?

1024


What is meant by variable variables in php?

1086


Is php faster than javascript?

991


Why many companies are switching their current business language to php?

1157


Tell me how do you execute a php script from the command line?

1033


What are php magic methods?

1038


How can you increase the maximum execution time of a script in php?

989


Is a number php?

1039