v5:reference:connection:recordcount
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:recordcount [2015/07/25 06:26] – mnewnham | v5:reference:connection:recordcount [2018/05/03 14:39] (current) – [recordCount] method, not function dregad | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <WRAP right box> | <WRAP right box> | ||
| == See Also == | == See Also == | ||
| - | [[database: | + | [[v5:database: |
| == Syntax == | == Syntax == | ||
| int recordCount() | int recordCount() | ||
| </ | </ | ||
| - | The function | + | The '' |
| - | </WRAP> | + | |
| + | If [[v5: | ||
| + | ---------------------------- | ||
| + | ===== Usage ===== | ||
| + | <code php> | ||
| + | /* | ||
| + | * Existing database connection assumed | ||
| + | */ | ||
| + | $result = $db-> | ||
| + | $recordCount = $result-> | ||
| + | </code> | ||
v5/reference/connection/recordcount.1437798395.txt.gz · Last modified: (external edit)
