Today I spent a couple of hours searching for a bug, until I finally
found out that the problems was the following:
Correct: $path_upload = "$path/$file";
Instead of:
Wrong: $path_upload = '$path/$file';
Note a difference in quotation marks. Since I have been programming in
PHP I found out that there is very little difference between ' and ",
but is there somebody who can explain me, when to use ' and when to
use ". It would be really great if there is somebody to explain this
to me!
Thanks,
Jochem