| 
	
 | 
 Posted by dseeker on 05/23/07 16:18 
On May 23, 3:47 am, Geoff Berrow <blthe...@ckdog.co.uk> wrote: 
> Message-ID: <1179892812.330704.252940@w5g2000hsg.googlegroups.com> from 
> dseeker contained the following: 
> 
> >                while( $tagrow = mysql_fetch_row($tagresult) ) { 
> >                        $tagquery = "select * from blog_tagname where 
> >tagID=".$tagrow[2]; 
> >                        $tagresult = mysql_query($tagquery); 
> >                        $tag = mysql_fetch_row($tagresult); 
> >                        echo $tag[1]; 
> >                } 
> 
> You are overwriting the resource $tagresult within the loop. 
> -- 
> Geoff Berrow (put thecat out to email) 
> It's only Usenet, no one dies. 
> My opinions, not the committee's, mine. 
> Simple RFDshttp://www.ckdog.co.uk/rfdmaker/ 
 
You are right, Geoff! I was so careless!!! 
Thanks for spending time reading my code and finding out the 
mistake! :)
 
  
Navigation:
[Reply to this message] 
 |