Update photosensor.php

Creates a dynamic table that reads available spots from the database.