YOTA
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo '
'; echo "\n"; echo ""; echo ""; echo ""; echo ""; echo "\n"; foreach($db->query("SELECT * FROM $table where approved=true") as $row) { echo ""; echo ""; echo ""; echo ""; echo "\n"; } echo "
ImePrezimeGodine
" . $row['name'] . "" . $row['surname'] . "" . $row['age'] . "
\n
\n"; } catch (PDOException $e) { echo "

Error!: " . $e->getMessage() . "

"; die(); } ?>