downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

mssql_pconnect> <mssql_num_fields
[edit] Last updated: Tue, 21 May 2013

view this page in

mssql_num_rows

(PHP 4, PHP 5, PECL odbtp >= 1.1.1)

mssql_num_rowsRestituisce il numero di righe

Descrizione

int mssql_num_rows ( resource $id_risultato )

La funzione mssql_num_rows() restituisce il numero di righe presenti in un risultato.

Vedere anche: mssql_query() e mssql_fetch_row().



add a note add a note User Contributed Notes mssql_num_rows - [1 notes]
up
0
h dot schuemann at cyquest-ag dot de
12 years ago
For getting something like "mssql_affected_rows" call:

<?php
$rsRows
= mssql_query("select @@rowcount as rows", $db);
$rows = mssql_result($rsRows, 0, "rows");
?>

after execution of the query (UPDATE, INSERT or DELETE).

 
show source | credits | sitemap | contact | advertising | mirror sites