• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unusual ActiveRecord Result

#4
[eluser]xwero[/eluser]
Maybe by coincidence the output of $row['artistId'] matches the right artistId but this will not be true in every case.

Also putting a return in a foreach statement only gets you one row, because return exits the function it's in, which makes the loop unnecessary.


Messages In This Thread
Unusual ActiveRecord Result - by El Forum - 07-01-2008, 12:06 AM
Unusual ActiveRecord Result - by El Forum - 07-01-2008, 12:45 AM
Unusual ActiveRecord Result - by El Forum - 07-01-2008, 01:11 AM
Unusual ActiveRecord Result - by El Forum - 07-01-2008, 01:19 AM
Unusual ActiveRecord Result - by El Forum - 07-01-2008, 01:22 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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