1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 23:33:02 +01:00
openstamanager/modules/categorie_documenti/init.php
2018-04-19 15:16:58 +02:00

8 lines
259 B
PHP

<?php
if( $docroot == '' ){
die( _("Accesso negato!") );
}
$records = $dbo->fetchArray("SELECT *, (SELECT COUNT(id) FROM zz_documenti WHERE idcategoria = '".$id_record."' ) AS doc_associati FROM zz_documenti_categorie WHERE id=\"".$id_record."\"");
?>