Zenario

Login

Create account

Open search
X
  • Documentation home
  • Sysadmin
    • Directory structure
    • Running multiple sites
    • Multi-site administrator authentication
    • Upgrading Zenario (quick)
    • Upgrading Zenario (cautious)
    • Relocating a site
    • Software version numbers
  • Designer
    • Creating a layout
    • Creating a skin
    • Structuring a new page
    • CSS on pages and layouts
    • Twig for server-side code
    • Twig for smart emails
  • Developer
    • Quick-start guides
    • TUIX elements and properties
    • Methods you write
    • Core function/variable reference
    • Plugin function/variable reference
 
 
 
 
Back
Home Developer Core function/variable reference PHP function libraries The ze\row library ze\row::count()

Function ze\row::count()

In PHP:
ze\row::count(
$table, $ids = []
)

Description

This function does a simple SELECT COUNT(*) on a table.

Parameters

$table

The name of a table to check. You do not need to add the DB_PREFIX, this will be added automatically.

$ids

An associative array of keys (column names) to values to search for; see Format of $id and $values for Database Functions for details.

 
 
  • Quick-start guides
  • TUIX elements and properties
  • Methods you write
  • Core function/variable reference
    • PHP/JS environment variables
    • PHP function libraries
    • Twig functions
    • JavaScript function libraries
  • Plugin function/variable reference
 
 
Home | Sitemap | Privacy | Contact us | Manage cookies
Tribal Systems logo website design
Copyright © Tribal Ltd. 1997-2026