|
Posted by Chung Leong on 10/13/06 19:01
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);
> }
> }
>From the memory address, it doesn't look like the it's crashing within
the PHP executable. You might be using a broken ODBC driver.
Navigation:
[Reply to this message]
|