/[informatika.old]/html/inc/sap_org_jed.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /html/inc/sap_org_jed.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Fri Jan 25 14:47:48 2002 UTC (22 years, 3 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
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