Welcome Guest, Not a member yet? Register   Sign In
How do I re-use query results?
#4

[eluser]CJL01[/eluser]
I am certainly iterating through the result set on each one of these calls, so you may be right and my pointer is at the end. Is there any way of resetting the pointer perhaps?

I guess I can't create a copy by setting say $query2 = $query, because I'm just creating two references to the same object. I tried $query2 = clone $query, but that doesn't seem to work either...


Messages In This Thread
How do I re-use query results? - by El Forum - 05-24-2009, 10:54 AM
How do I re-use query results? - by El Forum - 05-24-2009, 11:06 AM
How do I re-use query results? - by El Forum - 05-24-2009, 11:22 AM
How do I re-use query results? - by El Forum - 05-24-2009, 11:23 AM
How do I re-use query results? - by El Forum - 05-24-2009, 11:26 AM
How do I re-use query results? - by El Forum - 05-24-2009, 11:28 AM
How do I re-use query results? - by El Forum - 05-24-2009, 12:00 PM
How do I re-use query results? - by El Forum - 05-24-2009, 02:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB