--- html/lista.php 2000/07/30 18:13:53 1.12.2.1 +++ html/lista.php 2000/07/30 18:16:12 1.12.2.2 @@ -27,6 +27,7 @@ '; } else { $sth = $dbh->prepare("select ime,prezime,passwd,prava from kontakt_osobe where aktivna=true and id=$kontakt_osoba_id"); + $sth->execute(); $row=$sth->fetchrow_hash(); print "Trenutno ste prijavljeni kao $row[ime] $row[prezime], ako je to krivo odaberite ovaj link."; $prava=$row[prava]; @@ -131,6 +132,7 @@ # echo "
$sql
"; # echo "
$sql_where
"; $sth = $dbh->prepare("$sql"); + $sth->execute(); echo " @@ -163,6 +165,7 @@
$row[orgjed]"; $sth1 = $dbh->prepare("select datum,opis from status,status_tip where status.status_tip_id=status_tip.id and osoba_id=$row[id] order by datum"); + $sth->execute(); while ($row1=$sth1->fetchrow_hash()) { print "$row1[datum] $row1[opis]
"; }