<@NUMROWS>
Syntax
<@NUMROWS [ARRAY=array]>
Description
Returns the number of rows in an action's
result rowset or in the specified array.
Without the ARRAY attribute, this
meta tag is valid in the Results HTML of any results returning action,
and returns the number of rows in the result rowset.
With the optional ARRAY
attribute, which accepts the name of a variable containing an array,
the tag may be used anywhere that meta tags are valid, and returns the
number of rows in the named array.
Example
<@NUMROWS> records
were returned:<P>
<@ROWS>
<STRONG>Name:</STRONG> <@COLUMN NAME="contact.name">
<BR>
<STRONG>Phone:</STRONG> <@COLUMN NAME="contact.phone">
<BR>
</@ROWS>
This example returns a message indicating
the number of records retrieved, then lists the name and phone number
of each contact.
See Also
<@MAXROWS>
<@NUMCOLS>
<@STARTROW>
<@TOTALROWS>
|