Core Function MySQLRows

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> MySQLRows( <mysql data> ) </pre> === Description === Return how many Fields are in the table. === Parameters === ==== mysql data ==== The MySQL data object to use such...")
 
(Return Value)
Line 17: Line 17:
 
Success: Returns the amount of rows in the MySQL data object.  
 
Success: Returns the amount of rows in the MySQL data object.  
  
Failure: Returns 0.  
+
Failure: Returns -1.
  
 
=== Remarks ===
 
=== Remarks ===

Revision as of 00:10, 26 August 2013

MySQLRows( <mysql data> )

Contents

Description

Return how many Fields are in the table.

Parameters

mysql data

The MySQL data object to use such as one returned form MySQLFill().

Return Value

Success: Returns the amount of rows in the MySQL data object.

Failure: Returns -1.

Remarks

None.

Example

See MySQLConnect() for an example to this.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox