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

[eluser]Dam1an[/eluser]
I'm guessing its because after the first time you use it, you iterate all its contents, so the internal pointer is at the end of the results, so there's nothing left for the second time
I just looked through the DB method, and couldn't see one to reset the internal pointer 9although I'm sure there's a native php one to reset it

That failing, you could make 3 copies of the query result?


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