Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.