homerjay Posted December 9, 2008 Share Posted December 9, 2008 Hello, How would I go about removing the last element of a dynamic array. By dynamic I mean where you don't know which element will be the last. Thanks Link to comment https://forums.phpfreaks.com/topic/136175-remove-last-element-from-a-dynamic-array/ Share on other sites More sharing options...
kenrbnsn Posted December 9, 2008 Share Posted December 9, 2008 Use array_pop Ken Link to comment https://forums.phpfreaks.com/topic/136175-remove-last-element-from-a-dynamic-array/#findComment-710270 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.