Quote:
	
	
		| 
					Originally Posted by GigoloShawn  Dammit, I waited too long to edit:
 I just saw your very last post.
 
 You're setting $result, and resting $results; otherwise, you're on the right track.  No idea why you'd be doing mysql_array("...",MYSQL_BOTH), but, whatever.
 | 
	
 thanks for spotting my error, i tried out MYSQL_BOTH works pretty good.
thanks everyone for helping me out