|
I've always wondered about this, because it comes up often. In a script, I assign a result set to $result. Then I use $result to do something, then I need to run another query. Can I use $result again? Can I keep reusing it? Do I have to empty it first?
What I currently do is assign results to $result, then $result1, $result2, $result3, or sometimes $result_descriptivewordhere. But I don't really want to do this if it's not necessary.
Nothing critical, just something I've been wondering about.
|