I have this statement to find the latest date that a row was inserted
________
$entry=mysql_query("SELECT contact FROM board ORDER BY contact DESC
LIMIT 1")or die ("Query failed:<br>$entry<br>Error: " . mysql_error());
while($myrow=mysql_fetch_array($entry)){
if (ISSET($myrow['contact'])){
$latest = date("d M y", ($myrow['contact']+50400));
}
}
________
This reports the value for $latest correctly if the statement is in the
document.
However when the statement is in an included file the reported value for
$latest is ... Array
Where am I going wrong?
Louise