php-general | 2005051
Date: 05/12/05
- Next message: John Nichel: "Re: [PHP] beginner needs help!"
- Previous message: Chris Bruce: "[PHP] cURL functions"
- Maybe in reply to: Clinton, Rochelle A: "[PHP] beginner needs help!"
- Next in thread: John Nichel: "Re: [PHP] beginner needs help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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
- Next message: John Nichel: "Re: [PHP] beginner needs help!"
- Previous message: Chris Bruce: "[PHP] cURL functions"
- Maybe in reply to: Clinton, Rochelle A: "[PHP] beginner needs help!"
- Next in thread: John Nichel: "Re: [PHP] beginner needs help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

