Hello folks,
I’m trying to display some dates I have stored in my mysql database as integer. Here’s what I have. I’m getting a black page but if i take off the From_unixtime and just do select from logs_time…the integer shows.
$query=“SELECT FROM_UNIXTIME(log_time) FROM rate_logs LEFT JOIN rate_members ON log_time=m_id LIMIT 1”;
$result=mysql_query ($query);
$num=mysql_numrows($result);
$i=0;
while ($i < $num) {
$field1=mysql_result($result,$i,“log_time”);
echo “$field1
”;
$i++;
}