Modifications inline to try.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
$OpenCSV = fopen ($FileCSV, "w");
if ($OpenCSV === FALSE) {
print ("The query could not be executed!\n");
} else {
print ("The Sales CSV file was opened successfully\n");
}
Why are you opening it twice?
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Arthur <[EMAIL PROTECTED]>:
> The file in the code below is not closing successfully. Variable $FC = 1.
> Can someone tell me what is going on?
> Thanks
> Arthur
>
The file in the code below is not closing successfully. Variable $FC = 1.
Can someone tell me what is going on?
Thanks
Arthur
$OpenCSV = fopen ($FileCSV, "w");
if ($OpenCSV = fopen ($FileCSV, "w")) {
print ("The Sales CSV file was opened successfully\n");
} else {
print ("The query could not