You are here: Re: Warning: mysql_fetch_array(): 5 is not a valid MySQL result resource « PHP Programming Language « IT news, forums, messages
Re: Warning: mysql_fetch_array(): 5 is not a valid MySQL result resource

Posted by Petr Vileta on 10/09/57 11:55

"Rik" <luiheidsgoeroe@hotmail.com> píše v diskusním příspěvku
news:c204d$44e083c0$8259c69c$13766@news1.tudelft.nl...

> Judging by your output:
>>
>> Rows=3
>> 1
>> 2
>> 3
>> Warning: mysql_fetch_array(): 5 is not a valid MySQL result resource
>> in F:\webpub\php\test.php on line ...
>>
>
> Do the 1\n2\n3 mean these rows are shown?

Yes

> It would seem a _second_ fetch is performed on the result that we're
> not aware of.

Hmm, I do to study my code :-) This could be the reason.

> Could you show us the entire relevant code?
No. The code is not top-secret but is too big and if I delete some parts it
could be not runable.

--

Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)

 

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

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