Re: loop weirdness

From: Date: Tue, 19 Aug 2008 15:21:19 +0000
Subject: Re: loop weirdness
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-278343@lists.php.net to get a copy of this message
> Perhaps I'm not understanding correctly, but you can still use the while > loop if only a single row is returned, it'll just run the loop once. > > -Stut > That's what I thought also and is how I had it setup at first! But for some strange reason it always returned 4 identical results instead of just one. I took the query and placed it in several SQL editors and all of them only gave me one result back so I decided to try a different approach.

« previous php.general (#278343) next »