If you access it through localhost, it should be fine and you only see blank page when using short tag <? instead <?php
Every time you have new project, you're better have it in new folder, so they don't conflict each other, and when you access [localhost] it will show all your projects there.Quote
the php file for connection to database also in www directory, but still working.
do i need to create folder in www ?