1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 22:03:18 +01:00
openstamanager/modules/sezionali/init.php
2018-03-20 01:23:17 +01:00

6 lines
246 B
PHP

<?php
if ($docroot == '') {
die(_('Accesso negato!'));
}
$records = $dbo->fetchArray("SELECT *, (SELECT COUNT(t.id) FROM co_sezionali t WHERE t.dir = co_sezionali.dir) AS n_sezionali FROM co_sezionali WHERE id='$id_record'");