You are here: Re: A Strange mysql_fetch_row() problem...Help me to find the bug in my code!!! « PHP Programming Language « IT news, forums, messages
Re: A Strange mysql_fetch_row() problem...Help me to find the bug in my code!!!

Posted by Geoff Berrow on 05/23/07 07:47

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 RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация