I have the following:
[php] while ($qry = mysql_fetch_array($results)) {
if (strtotime($qry['loginDateTime']) <= (time() + 86400*31)) {
$login .= 'Name: '.$qry["FirstName"].' '.$qry["LastName"].' ('.$qry["loginDateTime"].') '.$qry["Email"].'
';
}[php] And I am trying to add the below in place of the "loginDateTime" $qry... I keep getting a parse error I think it's me not putting the ))) in the right spot... If anyone could help would be much appreciated!
PHP Code:($qry["loginDateTime"]?date("d/m/Y H:i:s", strtotime($qry["loginDateTime"])):'unknown'.)






Bookmarks