I am updating certain fields in a table, which works perfectly, but I do always get a weird PHP Error, which I can't get rid off.
Warning: No tuples available at this result index in C:\apache\htdocs\syndataaccess.php3 on line 150
Line 150:
while( odbc_fetch_row( $cur ) )
{
$nbrow++;
$idnum= odbc_result( $cur, 1 );
$SQL_Exec_String = "UPDATE dbtable SET synthesis = $index WHERE id = $ids[$i]";
}
Has anybody got some ides what this could be?
I alrady tried to specify a cursor when connecting, as shown below:
$conn_id=odbc_connect("$dsn","","", SQL_CUR_USE_ODBC );
but this does not help either.
Thanks!