yortzec Posted February 14, 2010 Share Posted February 14, 2010 I can't figure out how to add an item to the beginning of array $dataArr. Can someone help me? Thanks! Link to comment https://forums.phpfreaks.com/topic/192065-add-item-to-beginning-of-array/ Share on other sites More sharing options...
jl5501 Posted February 14, 2010 Share Posted February 14, 2010 does this help http://www.php.net/manual/en/function.array-unshift.php Link to comment https://forums.phpfreaks.com/topic/192065-add-item-to-beginning-of-array/#findComment-1012278 Share on other sites More sharing options...
yortzec Posted February 14, 2010 Author Share Posted February 14, 2010 Yes-- exactly what I was looking for. Thanks! Link to comment https://forums.phpfreaks.com/topic/192065-add-item-to-beginning-of-array/#findComment-1012280 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.