• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Optimization on Nested Loop

#5
bad idea as Narf said queries in loop are bad practice, as I see you are trying to get employees with total users assigned group by query would be ideal in this case.

this might help you

https://stackoverflow.com/questions/1784...-every-row
Reply


Messages In This Thread
Optimization on Nested Loop - by codeigniter_guru - 11-10-2017, 02:55 AM
RE: Optimization on Nested Loop - by Narf - 11-10-2017, 05:31 AM
RE: Optimization on Nested Loop - by PaulD - 11-10-2017, 05:36 AM
RE: Optimization on Nested Loop - by Narf - 11-10-2017, 07:19 AM
RE: Optimization on Nested Loop - by averroez - 11-14-2017, 01:23 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.