--- html/obavijest.php 2000/06/08 11:03:40 1.8
+++ html/obavijest.php 2000/06/28 11:57:55 1.12
@@ -80,7 +80,7 @@
$instaliran=0;
-$result = pg_Exec ($conn, "select datum,opis,ime,prezime,status_tip_id as st
+$result = pg_Exec ($conn, "select status.id as status_id,datum,opis,ime,prezime,status_tip_id as st
from status,kontakt_osobe,status_tip
where kontakt_osoba_id=kontakt_osobe.id and status_tip_id=status_tip.id
and osoba_id=$id order by datum");
@@ -89,9 +89,13 @@
$nr = pg_numrows($result);
if ($nr > 0) {
- for ($i=0;$i<$nr; $i++) {
+ for ($i=0; $i<$nr; $i++) {
$row=pg_fetch_array($result,$i);
- $statusi.="