phprookie72 Posted July 14, 2011 Share Posted July 14, 2011 is there a function that allows me to remove element in an array? when i know the key element of the array i want to remove, thank you. Quote Link to comment https://forums.phpfreaks.com/topic/242012-remove-element-in-array/ Share on other sites More sharing options...
MockY Posted July 14, 2011 Share Posted July 14, 2011 http://php.net/manual/en/function.unset.php Quote Link to comment https://forums.phpfreaks.com/topic/242012-remove-element-in-array/#findComment-1242835 Share on other sites More sharing options...
premiso Posted July 14, 2011 Share Posted July 14, 2011 array_shift array_pop unset array()? Quote Link to comment https://forums.phpfreaks.com/topic/242012-remove-element-in-array/#findComment-1242836 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.