Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   add code for today date in my php class/function (http://www.go4expert.com/forums/add-code-date-php-class-function-t25812/)

newphpcoder 17May2011 13:25

add code for today date in my php class/function
 
Good day!

I want to know what is the syntax for date(dd-mm-yyyy) and how can I insert it to my code:
PHP Code:

$Mail->Subject 'Preview/' $this->csvUploadPaymentDetails[0]['csvfilename']; 

Sorry, because I'm not familiar with class and function.

i want toe result is Preview/Filename/Date/

Thank you so much

pein87 20May2011 01:45

Re: add code for today date in my php class/function
 
Don't include the file name with extension. The title is just a way to describe what the content is. Add the file info in the content.


All times are GMT +5.5. The time now is 21:48.