1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-13 16:14:55 +01:00
openstamanager/modules/categorie_documenti/init.php

8 lines
259 B
PHP
Raw Normal View History

2018-04-19 15:16:58 +02:00
<?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."\"");
?>