Reply to Re: Access Violation @ odbc_fetch_row - but why?

Your name:

Reply:


Posted by Chung Leong on 10/13/06 19:18

Sonnich wrote:
> Hi!
>
> I get this error: PHP has encountered an Access Violation at 04C3451C
>
> It occurs at the while line, as I get a and b, but not c. I run this
> a number of times, but the 3 first times it works, at the fourth, which
> returns 2 rows, results in this error at that point.
> Why?
>
> echo "#a ";
> if(odbc_num_rows($result)>1)
> {
> echo "#b ";
> while(odbc_fetch_row($result))
> {
> echo "#c ";
> $itemtosearch1[]=odbc_result($result,1);
> $itemtosearch2[]=odbc_result($result,2);
> }
> }

Message was screwed up by a stray bracket...

>From the memory address, it doesn't look like the crash occurs within
PHP. The PHP executable starts at the address 0x04000000. It is not
large enough to reach 0x04C3451C. phpts#.dll normally starts at
0x10000000.

It could be that you're using a broken ODBC driver. Look at the crash
log, it'll tell you in which DLL the crash actually occurred.

[Back to original 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

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