I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / vipul dalwala
$a = array('a','b','c','d','f','g','h','i','j','k');
array_splice($a, 0, 5);
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How do we get the current session id?
Tell me how is it possible to know the number of rows returned in result set?
What should be the length of variable for SHA256?
for image work which library?
What is the use of preg_match in php?
What are escaping characters? Explain with an example?
How do you check if a variable has not been set in php?
What is the difference between javascript and php?
What library is used for pdf in php?
What are the differences between echo and print?
What does isset() function?
Explain the changes in php versions?
What is the use of header() function in php?
i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..
What are examples of independent and dependent variables?