Realtime connection to postgres database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I made a table in html that reads a table from a postgres database (easy part). The postgres database grows every time an earthquake occurs. What is the best way to keep the table updated automatically, each time a new earthquake is added to the database? (I mean, not having to update by clicking on the browser). The ugly way to do it is by using something like header ("refresh: 3"); for example ... but isn't there something better?

Excuse the question if it is very obvious, but I am not a "full" time php programmer.

 (PHP 7.4.11, postgresql 9.6.19)


--
++++++++++++++++++++++++++++++++++++++++
 Rodrigo Sánchez-Olavarría
 CSN, Centro Sismologico Nacional
 Universidad de Chile
 Celular : +56 9 42137243
++++++++++++++++++++++++++++++++++++++++

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux