Projects Directory : Creating a similiar php website and function - creating a simple loop