I have a serius problem the odbc_fetch_row doesn't work when there 's just one row in the query , the sentece is
$querc1 = "select count(*) as cont from info_archivo where nombre_archivo like '%$file_1%' and cod_usu_ar = $dir[0]; ";
$totc1= odbc_exec($conn_id,$querc1) or die("<p>ERROR : ".odbc_errormsg()); $respuest = "";
if ( odbc_fetch_row($totc1) ==true)
{
$respuest=odbc_result($totc1,"cont");
}
and in respuest return the data of $file_1, not 1 or 0 and that data is not in the database. I look in the internet and is reported as a bug number 23898 that said that is solved in the version 4.3.10 but i'm working in that version
I would like to know if someone has found some solution