RE: beginner needs help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux