koopkoop Posted June 19, 2008 Share Posted June 19, 2008 I've looked everywhere and I don't seem to be able to find an array function to convert an associative array to a numerical one. Is there one to do this that I'm not aware of because it seems kind of weird that there isn't such an obvious function?? Also, what's the reasoning behind being unable to reference an array associatively AND numerically? Thanks. Link to comment https://forums.phpfreaks.com/topic/110872-associative-to-numeric-array/ Share on other sites More sharing options...
samshel Posted June 19, 2008 Share Posted June 19, 2008 $arrNumeric = array_values($arrAssociative); Link to comment https://forums.phpfreaks.com/topic/110872-associative-to-numeric-array/#findComment-568849 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.