I have a variable called $filter
. If I run echo $filter;
I get the contents of it. However, If I run
file_put_contents("/nrj/vvr/tmp/lol", $filter);
I do get the file, but the contents is just 1
. It should contain alot of different things. I use the exact same syntax usually, and it works. I get no error messages.