This is straightforward if your data is in DB (or file for that matter).
If you have just the one episode.php file and get the relevant programme via querystring and $_GET variable.
Thank you for that advice - useful for if my site does have MySQL capacity, but my current webhost only offers PHP 5.28, with no databases available on the free hosting plan, so I've had to resort to PHP files only.