Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Using PHP with MySQL Connecting PHP to MySQL Creating the Products Table

Fabricio Portillo
Fabricio Portillo
16,718 Points

opening shirts for mike project

I dl xampp and installed it on my laptop to work on a personal project non related to anything on treehouse. i saved my project in xampp/htdocs. can I work on the "shirts for mike" project if i save htdocs? what will my localhost load as the index page? the shirts for mike or my personal project?

1 Answer

Kevin VanderWulp
Kevin VanderWulp
5,180 Points

That depends on how your htdocs folder is set up. If you have your original project set up directly in the htdocs folder and not in a subfolder inside of the htdocs folder, and you copy the Mike the Frog site and paste it directly into the htdocs folder, you will overwrite your original project files and it will more than like show the Mike the Frog site. If you want to have multiple projects in the htdocs folder, you have to have subdirectories for each project inside of the htdocs folder. Then when you go to http://localhost, it will show you directory information of the htdocs folder and let you select any subfolders inside of the htdocs folder. When you open any subdirectory that has a index.html or index.php file, it will load that index page.