Skip to content

Comment on Ask HN: How to build static website that displays database data

Comments

Usually this is done server-side in something like PHP. It will not be a "static" website, though. The script will generate an HTML page on each access and return it to the user.

Alternatively, if DB data rarely changes, you can generate and save static HTML's on the server and then serve them. But usually if people are accessing database, they work with dynamic data.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.