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
How to create a public static method in PHP?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
What is list function with their uses.
The left association operator % is used in PHP for?
How to execute an sql query?
Which software is best for php?
How to redirect a url from http to https in .htaccess?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
How to upload file in php?
What is php and its uses?
What is difference between print_r and echo in php?
What are the file upload settings in configuration file?
What is abstract class in php?
What are the steps involved to run php?
What is the Default syntax used in PHP?