I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / phani
$output = array_splice($input, 0, 5));
print_r($output);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to get the total number of values in an array?
Why is facebook still using php?
Can you give example for trait in php?
Is empty in excel?
What is sticky form in php?
What is faster in php?
Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.
What is the scope of a variable defined in a function?
When to use inquire vs enquire?
What is curl php?
How do I run a php file?
How do you connet mysql database with php?
What is difference between php and html?
What is encapsulation in php?
What is the difference between get and post in php?