1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 13:26:38 +01:00
openstamanager/modules/contratti/ajax.php

11 lines
297 B
PHP
Executable File

<?php
include_once __DIR__.'/../../core.php';
if (get('op') == 'get_costo_orario') {
$idtipointervento = get('idtipointervento');
$rs = $dbo->fetchArray('SELECT costo_orario FROM in_tipiintervento WHERE idtipointervento='.prepare($idtipointervento));
echo $rs[0]['costo_orario'];
}