View Single Post
  #2 (permalink)  
Old May 18th, 2006, 10:33
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: mysql query in a function

Unless I'm missing something, each time you call the function, the queries are run a new so you will get the first row in the returned set of rows every time.

The same is true of your for...loop.
Reply With Quote