Re: [PHP-WIN] Basic Question about closing a file

2002-09-12 Thread Scott Carr
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"); }

Re: [PHP-WIN] Basic Question about closing a file

2002-09-12 Thread Scott Carr
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 >

[PHP-WIN] Basic Question about closing a file

2002-09-12 Thread 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