Thread
:
mysql query in a function
View Single Post
#
2
(
permalink
)
May 18th, 2006, 10:33
ukgeoff
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.
ukgeoff
View Public Profile
Visit ukgeoff's homepage!
Find all posts by ukgeoff