<input type="hidden" name="id" value="<?php echo $id; ?> " /> <input type="hidden" name="do" value="delete" /> <input type="submit" value="Briši" /> </form> --> <?php } else { if ($_GET["funkcija"] == "stranka") { if (isset($_GET["id"])) { $id = $_GET["id"]; } else { $email = $_GET["email"]; $id = DBTrgovina::findIdStranke($email); } ?> <h1>Posodabljanje</h1> <?php try { $row = DBTrgovina::getStranka($id); // POIZVEDBA V PB } catch (Exception $e) { echo "Napaka pri poizvedbi: " . $e->getMessage(); } $email = $row["email"]; $geslo = $row["geslo"]; $naslov = $row["naslov"]; $telefon = $row["telefon"]; $status = $row["status"];