|
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.
Navigation:
[Reply to this message]
|