This commit is contained in:
paoloar77
2024-08-13 15:22:21 +02:00
parent 3e480c5b7e
commit deb8472fd3
3 changed files with 24 additions and 25 deletions

View File

@@ -2021,3 +2021,23 @@ function getClienti()
return null;
}
}
function getvalstr($mystr, $value, $separato = false)
{
$my = '';
if ($mystr) {
$my = " " . $mystr . ": " . $value;
} else {
$my = $value;
if (!$separato) {
$my = " " . $value;
}
}
if ($separato) {
$my = '[' . $my . '] ';
}
return $my;
}