Queries a relational database using SQL in PHP to find out who all connections to Kevin Bacon in 6 degrees