Reply to Date is not being pulled from MYSQL database, instead current date is displayed!!!

Your name:

Reply:


Posted by ameshkin on 03/22/06 19:29

Hi,
I am having trouble pulling a date from a database using PHP at the <a
href="http://www.mytuneslive.com/ameshkin69/"> following page.</a>

Here is the code. As you can see, it is just making the date the
current time. The values in the database are UNIX timestamp, and the
DATE() function is used to convert from UNIX to readable date. Can
someone please help me?


<td width="55%" align="left" valign="top"><?php
$row_comment['timestamp'] = date("n d Y g:i A");


echo
$row_comment['timestamp']; ?> <br><br>
<?php echo $row_comment['comment']; ?> </td>

</tr>
</table>


I have also tried converting the database entry into a variable first,
then putting it in the repeating table with no luck....

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация