PHP Weather

Database Builder for PHP Weather

This is the tool you use to create the tables used by PHP Weather. PHP Weather uses the tables for several things: the lists of countries and the stations in each country is stored in two tables, and then the METARs are cached in a third table.

If you want to use a different database than the default null database, then you should start by making a defaults.php file using the Configuration Builder. After you've made the file and uploaded it to your webserver, then you can proceed on this page.

Create Tables

If you're installing PHP Weather for the first time, then you'll need to make the tables. This will delete any tables with the same name in the database!

You can also use this button to update the list of stations from stations.cvs. The list changes from time to time as we discover new stations and when old stations disappear. This will remove any cached METARs from the database, but they would have been removed sooner or later anyway, so this isn't a problem.