Parent Directory | Revision Log
sap organizacijske jedinice
1 | dpavlin | 1.1 | <? |
2 | function sap_org_jed($sifra) { | ||
3 | |||
4 | global $conn; | ||
5 | |||
6 | if (isset($sifra) && intval($sifra."") == $sifra."") { | ||
7 | $result=@pg_Exec($conn,"select naziv from sap_osobe,sap_oj where sap_oj.sifra_oj = sap_oj and sap_sifra = $sifra"); | ||
8 | |||
9 | if ($result && pg_numrows($result)>0) { | ||
10 | $row=pg_fetch_array($result,0); | ||
11 | $out=$row[naziv]; | ||
12 | } | ||
13 | } | ||
14 | return($out); | ||
15 | } | ||
16 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |