thx at all,
i have tried to create a snippet like this:
<?php
$output = '';
$result = $modx->db->query( 'SELECT id, pagetitle, joined FROM `Modx_site_content`' );
while( $row = $modx->db->getRow( $result ) ) {
$output .= '<br /> ID: ' . $row['id'] . '<br /> Name: ' . $row['pagetitle'] . '<br /> Joined: ' . $row['joined']
. '<br />---------<br />';
}
echo $output;
?>
but when i try to execute it:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Table 'isola2.Modx_site_content' doesn't exist »
SQL: SELECT id, pagetitle, joined FROM `Modx_site_content`
[Copy SQL to ClipBoard]
(My db is named isola2)... Any help for me?
thx