Menu

#122 [PHP]There is a mistake in example of cubrid_db_name() method

open
nobody
None
5
2012-03-13
2012-03-13
Jira Trac
No

Test Build: CUBRID 2008 R4.1 (8.4.1.1018) (64bit release build for linux_gnu)
OS: Linux 64
Description:
The example in [cubrid_db_name() method |http://www.php.net/manual/en/function.cubrid-db-name.php]
statement in example
{noformat}
$cnt = cubrid_num_rows($db_list);
{noformat}
Maybe the meaning of this statement is calculating the number of elements in $db_list array.
This statement: using the cubrid_num_rows() method to calculating the number.
Maybe the statement is like this $cnt =count($db_list).

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.