yeah I fixed that already...the problem lies somewhere in here:
I actually get it to write to the file if I am not relying on pasing actual data to it. But this is giving me problems:
$data="$name, $email, $dphone, $divider, $sides, $location, $mount, $finish, $hinge, $address, $opt_address, $city, $state, $prod_type, $qty, $room, $completew, $completeh, $louver, $foldtype, $foldcode, $frame";
I have tried formatting it like above as well as $var1 .",". $var2 etc but it blows up. It works fine without this string when I just writ eto the file a simple word but passing it this $data var it wont work.