Hi David
I cannot find this even though I know its been done. Is it still possible with latest script. Regards
Brent
Hello Brent,
Sure - to show the prices updated date / time (16/09A / Foundation templates) you can add the following code to the end of html/prices.php:
<?php $sql = "SELECT MAX(imported) AS updated FROM `".$config_databaseTablePrefix."feeds`"; database_querySelect($sql,$rows); $updated = $rows[0]["updated"]; ?> <div class='row'> <div class='small-12 columns'> <p>Prices updated: <?php print date("Y-m-d H:i",$updated); ?></p> </div> </div>
You can format the date/time how you like using the format in the call to PHP's date() function...
Hope this helps!
Cheers, David. -- PriceTapestry.com
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hello Brent,
Sure - to show the prices updated date / time (16/09A / Foundation templates) you can add the following code to the end of html/prices.php:
<?php
$sql = "SELECT MAX(imported) AS updated FROM `".$config_databaseTablePrefix."feeds`";
database_querySelect($sql,$rows);
$updated = $rows[0]["updated"];
?>
<div class='row'>
<div class='small-12 columns'>
<p>Prices updated: <?php print date("Y-m-d H:i",$updated); ?></p>
</div>
</div>
You can format the date/time how you like using the format in the call to PHP's date() function...
Hope this helps!
Cheers,
David.
--
PriceTapestry.com