Am I using mysql_fetch_assoc and mysql_fetch_array the corre
Posted: Tue Jun 15, 2010 7:24 am
When I usually call something from a database, I am either dealing with one record exclusivity or a whole bunch of record. I always use mysql_fetch_assoc when dealing with single record returns e.g. username-password authentication but if i want to display who is online for example, I just run a while ($user = mysql_fetch_array($rb_response)). Is this the correct approach?