RE: [PHP] beginner needs help!

2005-05-13 Thread Kim Madsen
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 12, 2005 9:37 PM > > var $exportFile = "Export." . date("mdy") . ".txt"; > > > I seem to be able to use the date function is I am not starting the > > declaration with "var", but then my program i

RE: [PHP] beginner needs help!

2005-05-12 Thread Richard Lynch
On Thu, May 12, 2005 12:36 pm, Jay Blanchard said: > [snip] > Thank you for your response Jay, but that is not working. My program > will not run at all with the following: > > var $exportFile = "Export." . date("mdy") . ".txt"; > > I seem to be able to use the date function is I am not starting t

Re: [PHP] beginner needs help!

2005-05-12 Thread James Williams
hmmm, well... If I could see the code I could probably fix it for you, the problem is everything changes depending on the context it's used and how the class is setup. For example, it's poor practice to assign values to vars when you declare them... It is recommended you assign them inside the cla

Re: [PHP] beginner needs help!

2005-05-12 Thread James Williams
On 5/12/05, Clinton, Rochelle A <[EMAIL PROTECTED]> wrote: > Dear Much Needed Advisor, > > I am definitely a PHP novice and making some code changes to a PHP > script. > > I need to change a declared output file to include the date as an > extension. > > My file is declared at the beginning of t

RE: [PHP] beginner needs help!

2005-05-12 Thread Jay Blanchard
[snip] Thank you for your response Jay, but that is not working. My program will not run at all with the following: var $exportFile = "Export." . date("mdy") . ".txt"; I seem to be able to use the date function is I am not starting the declaration with "var", but then my program is not working c

RE: [PHP] beginner needs help!

2005-05-12 Thread Leila Lappin
Will this work? -Original Message- From: Clinton, Rochelle A [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 12:55 PM To: php-general@lists.php.net Subject: [PHP] beginner needs help! Dear Much Needed Advisor, I am definitely a PHP novice and making some code changes to a P

Re: [PHP] beginner needs help!

2005-05-12 Thread John Nichel
Clinton, Rochelle A wrote: Dear Much Needed Advisor, I am definitely a PHP novice and making some code changes to a PHP script. I need to change a declared output file to include the date as an extension. My file is declared at the beginning of the script as: var $exportFile = "Export.txt"; I need

RE: [PHP] beginner needs help!

2005-05-12 Thread Jay Blanchard
[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 =