ID:               36685
 Updated by:       [EMAIL PROTECTED]
 Reported By:      szczawik dot psq at poczta dot fm
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: doesn't matter
 PHP Version:      5.1.2
 New Comment:

Won't happen. We have PDO in PHP 5.1 which implements database access
abstraction.


Previous Comments:
------------------------------------------------------------------------

[2006-03-10 18:31:14] szczawik dot psq at poczta dot fm

Description:
------------
## To support MSSQL, PHP has a function named:
mssql_rows_affected

http://pl.php.net/manual/pl/function.mssql-rows-affected.php

## The same function for MySQL is called:
mysql_affected_rows

http://pl.php.net/manual/pl/function.mysql-affected-rows.php

## Oracle 8 has:
oci_num_rows

http://pl.php.net/manual/pl/function.oci-num-rows.php

## I guess, functions for other DBs have different names as well. It
just brings confussion while rewriting scripts for new environments.
Why not to unify them (all functions, not only 'rows-affected') and
just select right function for an appropriate DB with it's prefix (in
example mssql_*, mysql_*, oci_* and so on..)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36685&edit=1

Reply via email to