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."\"");
?>