tomyknoker
04-13-2007, 01:14 PM
I have this line
while ($qry = mysql_fetch_array($results)) {
// if (strtotime($qry['loginDateTime']) <= (time() + 86400*31)) {
$login .= 'Name: '.$qry["FirstName"].' '.$qry["LastName"].' ('.$qry["JoinDate"]?date("d/m/Y", strtotime($qry["JoinDate"])).') '.$qry["Email"].''.$qry["rep_NBR"].' ('.$qry["State"].')
';
//}
}
And when I run it I receive
[quoteParse error: parse error, unexpected ';' in e:\emailMembersPending.php on line 43[/quote]
I just don't get it obvioulsy I'm doing something stupid with the 'JoinDate' but I can't work it out!
while ($qry = mysql_fetch_array($results)) {
// if (strtotime($qry['loginDateTime']) <= (time() + 86400*31)) {
$login .= 'Name: '.$qry["FirstName"].' '.$qry["LastName"].' ('.$qry["JoinDate"]?date("d/m/Y", strtotime($qry["JoinDate"])).') '.$qry["Email"].''.$qry["rep_NBR"].' ('.$qry["State"].')
';
//}
}
And when I run it I receive
[quoteParse error: parse error, unexpected ';' in e:\emailMembersPending.php on line 43[/quote]
I just don't get it obvioulsy I'm doing something stupid with the 'JoinDate' but I can't work it out!