Developer's Manual  System Variables and Constants  suPAGES

suPAGES

Constant suPAGES stores current content table name.

Example

<?
$query
= "SELECT id, title FROM " . suPAGES . " WHERE active = 1 AND path LIKE '/news/%'";
?>
Please login to add comments.