Jump to content

how to strip a value from an array


ProblemHelpPlease

Recommended Posts

I have an array as belowArray ( [0] => 9632155000058 [1] => 9632155000157 [2] => 9632155000195 [3] => 9632155000034 [4] => 9632155000201 [5] => 9632155000171 )I want to search the array for a specific number (9632155000195 for example) and remove it from the array so that the array would then look likeArray ( [0] => 9632155000058 [1] => 9632155000157 [2] => 9632155000034 [3] => 9632155000201 [4] => 9632155000171 )The array is dynamically created so the number are not always the same or in the same position and the array can be any length.What is the most efficent way to do this.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...