array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.odbc-num-rows.php', 1 => 'odbc_num_rows', ), 'up' => array ( 0 => 'ref.uodbc.php', 1 => 'ODBC İşlevleri', ), 'prev' => array ( 0 => 'function.odbc-num-fields.php', 1 => 'odbc_num_fields', ), 'next' => array ( 0 => 'function.odbc-pconnect.php', 1 => 'odbc_pconnect', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/uodbc/functions/odbc-num-rows.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_num_rows — Bir sonuçtaki satır sayısını döndürür
Bir sonuçtaki satır sayısını döndürür. INSERT, UPDATE ve DELETE deyimleri için odbc_num_rows() etkilenen satır sayısını döndürür. SELECT için ise dönen değer kullanılabilir satır sayısı olabilir.
Belirtilen ODBC sonucundakı satırların sayısını döndürür. Bir hata oluşursa
-1
döner.
Bilginize:
İşlevin, bir SELECT sonrası kullanılabilir satırların sayısını saptamak için kullanımı durumunda çoğu sürücü
-1
döndürür.