-
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"].'';
-
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.
-
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...