This demo provides you with a template for connecting to your own MySQL database and retrieving new/updated data after a set interval.
-
Download or clone this repository.
-
Navigate to the
MySQL - Full Refresh
directory. -
In
db.php
, replace the values for $host, $port, $usernm, $passwd, $dbname, and $query with your MySQL instance info and desired query to run. -
Upload
index.php
anddb.php
to your web server, or add it to a directory within your Document Root directory of a locally running web server (we recommend MAMP!) -
Navigate to
index.php
in your favorite browser. -
Pick your jaw up off da floor.