[snip]
My file is declared at the beginning of the script as:

var $exportFile = "Export.txt";

I need it to be, for instance, Export.051205.txt.


I have played around with the date function many ways:

Ex 1:

var $exportFile = "Export" . date("mdy");
[/snip]

You almost had it;

var $exportFile = "Export." . date("mdy") . ".txt";

[snip]
Also, could you point me to somewhere where I can learn the difference
between declaring variables as:
[/snip]

http://www.php.net/variables is a good place to start.
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to