Importing progress

'; } if ($row[3]) { echo 'Last updated at ' . $row[3] . '.
'; } if ($row[4]) { echo 'Finished at ' . $row[4] . '.
'; } echo 'Import is currently being proccessed: '; if ($row[0] == 0) { echo "NOT YET"; } else { echo "yes"; } echo '
'; echo 'Imported structures: ' . $row[1] . '
'; $query = "SELECT COUNT(*) FROM importQueue;"; $result = pg_exec($link, $query); $row = pg_fetch_row($result); echo 'Pending structures: ' . $row[0] . '

'; echo ''; ?>