Far Cry Posted January 21, 2011 Share Posted January 21, 2011 I need to fill an array dynamically with all the data in the users table. Any help will be appreciated, thanks! Link to comment https://forums.phpfreaks.com/topic/225181-dynamically-populating-an-array/ Share on other sites More sharing options...
trq Posted January 21, 2011 Share Posted January 21, 2011 $a = array(); while ($r = mysql_fetch_assoc($result_from_mysql_query)) { $a[] = $r; } Link to comment https://forums.phpfreaks.com/topic/225181-dynamically-populating-an-array/#findComment-1162969 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.