You have to open your page not via file://... but with
http://127.0.0.1/path/to/your/server/document/root/your-script.php
or
http://localhost/path/to/your/server/document/root/your-script.php
.
By default on xampp/wamp installations this path is <install_folder>/xampp/ or <install_folder>/wamp/ and in this path resides the document root (folder with name www for wamp installation or htdocs for xampp).
Also it is general good idea to replace spaces in your sub-folder with slashes - or underscore _, however this is not mandatory for your scripts to work.