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! Quote 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; } Quote Link to comment https://forums.phpfreaks.com/topic/225181-dynamically-populating-an-array/#findComment-1162969 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.