Forum Moderators: coopster
Snippet:
<?
$Query="SELECT User, Title, UNIX_TIMESTAMP(Entry) as your_date FROM communicationdata";
$Result=mysql_query($Query, $Link);
$num=mysql_numrows($Result);
mysql_close();
$i=0;
$a=0;
while ($i < $num and $a < 17) {
$Title=mysql_result($Result,$i,"Title");
$User=mysql_result($Result,$i,"User");
$Entry = date("F jS, Y", $Row['your_date']);
echo "$User - $Title - $Entry <br>";
++$i;
++$a;
}
?>
can anyone see what i might be doing wrong?
any help would be much appreciated :)
Oh yeah what this code is doing wrong is
every item is returning the date January, 1st 1970
when none of the values are remotely close to 1970 and or january.