add code for today date in my php class/function

Discussion in 'PHP' started by newphpcoder, May 17, 2011.

  1. newphpcoder

    newphpcoder New Member

    Joined:
    Sep 24, 2010
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Programmer
    Location:
    Philippines
    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:
    $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
     
  2. pein87

    pein87 Active Member

    Joined:
    Aug 6, 2010
    Messages:
    173
    Likes Received:
    47
    Trophy Points:
    28
    Occupation:
    Web Dev
    Location:
    Limbo
    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.
     
    newphpcoder likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice