My problem is the following:
I read-in a directory (every folder->$val), then I want to print out <a href=FileListing.php?loc=$val>$val</a>
If I do it like that and $val is for example "the folder" and i hit the link it searches loc called "the" - if I replace the space with   it searches for a loc called "the folder" I want to go "the folder" ...
Can anyone help me ?
Thanks