Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33

Thread: Send Me An Email Of Birthdays

  1. #31
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hiya ok it doesn't like something on this line... I think it must be an ' but tried a few different additions and still no luck

    PHP Code:
             $bdays .= 'Name: '.$qry["FirstName"].' '.$qry["LastName"].' ('.date('d-m-Y'strtotime($qry["DateOfBirth"]).') '.$qry["Email"].''

  2. #32
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Ah yes, forgot to the single quotes . Try this:

    Code:
    $bdays .= 'Name: '.$qry["FirstName"].' '.$qry["LastName"].' ('.date("d-m-Y", strtotime($qry["DateOfBirth"])).') '.$qry["Email"].'
    ';
    (Note: the parts in red are what I have changed.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #33
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ug it still just displays the same, it's ignored that line. They all display in one big line and the date didn't change very wierd...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •