Forum Moderators: coopster
Thanks in advance all!
When I run the script I receive an error that I haven't gotten before. It points to this line:
$data2 = fgetcsv($order_var_file, 1000, ",");
It expects parameter 1 to be resource and it says a boolean is given. I have this exact statement in 3 other places and I don't get an error. Any thoughts?
If opening failed then you would get a bool
if $order_var_file is defined multiple times, such as opening and closing the file multiple times, then other places it is used becomes irrelevant