You are here: Access Violation @ odbc_fetch_row - but why? « PHP Programming Language « IT news, forums, messages
Access Violation @ odbc_fetch_row - but why?

Posted by Sonnich on 10/13/06 18:38

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);
}
}

 

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

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