Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB