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...")
 
m (1 revision)
 
(2 intermediate revisions by one user not shown)
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 ===

Latest revision as of 12:38, 14 June 2015

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