table_prefix

API Quick reference
Variable name: table_prefix
CMS versions: 0.9.x + Evo
Variable type: string
Object parent:

API:table_prefix

Description

Contains the database table prefix as defined during installation (default "modx_").

Usage / Examples

<?php
echo ( $modx->db->config['table_prefix'] );
?>

Suggest an edit to this page.