PHP Using PHP with MySQL Connecting PHP to MySQL Getting Started with PDO

How do I open htdocs directory? No launch pad. Using PHP with MySQL. Getting Started with PDO. Downloaded files.

don't know how to open htdocs file the same way as shown in the video. Please advise. Do I need to download something else? have Xampp.

2 Answers

Greg Kaleka
Greg Kaleka
38,992 Points

Hi Carla,

Here's a video that explains how to change where XAMPP looks for the root of your project. It shows where the htdocs folder is by default with XAMPP. Might be helpful.

what application do I use to open the php files? Do I need to download a Netbeans IDE?

Thanks, Greg. That is a good video and easy to understand. However, I was actually trying to figure out what program, etc. to open the htdoc files in. Since there isn't a launch pad I have the files saved to the path where htdocs is, but what application do I open them with? No launch pad on the video.

Greg Kaleka
Greg Kaleka
38,992 Points

Hi Carla,

You need a text editor to open the htdoc file. I assume you have one you're using to edit other files (HTML, CSS, PHP files, etc.), but if not, I recommend Sublime Text. It's free unless you want to pay :smile:.