How do I remove an element from an array without changing the index values for the rest of the array?
For instance, if you create an array of the numbers from A - Z then the index values are 0 - 25.
If you then unset the value at index 2 (C) then the rest of the array keeps its index - value correlation intact.
$letters = range("A","Z");
Copy and paste that to see the results... if that wasn't the question you were asking then please re-post with more explicit details of what you're looking for.
More arrays PHP QuestionsHow do I add to the end of an array and know how large the array is?
How do I check if a variable is of array type?
How do I remove the first element from an array?
How do I reverse the order of the elements in an array?
I tried to query a table and retrieve some data, then I email them to an indivisual person with different data. However, I am only to send the 1st email, but not 2nd email. My query seem that not able to pass the 1st data found and pass it for 2nd time