![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Date is not being pulled from MYSQL database, instead current date is displayed!!!
From: ameshkin <amir.meshkin@gmail.com>
Date: Thu Mar 23 2006 - 23:54:57 CET
Here is a reply in another forum after someone stated taht it was
The page is at http://www.mytuneslive.com/ameshkin69/
OK, what I did is just output the raw $row_comment['timestamp']
This gives u the value in the database in a unix timestamp. Below is
mysql_select_db($database_premium, $premium);
comments.author, comments.cmtpic, comments.auto
$row_comment = mysql_fetch_assoc($comment);
SQL ABOVE
TABLE BELOW
<td height="240" colspan="3" align="left" valign="top"
href="http://www.mytuneslive.com/<?php echo $row_comment['author'];
$row_comment['author']; ?></a><br>
if ( $condition > '1' ) {
echo "<center><a href=\"http://www.mytuneslive.com/$a/\"><img
border=\"0\"/>";
} else {
echo "<br>";
}
?>
</td>
</tr>
|