RE: [PHP] beginner needs help!

From: Date: Thu, 12 May 2005 19:17:35 +0000
Subject: RE: [PHP] beginner needs help!
Groups: php.general 
Request: Send a blank email to php-general+get-215062@lists.php.net to get a copy of this message
[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.

« previous php.general (#215062) next »