Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_update_banner_click_count() in banner.php


Pinocchio

Recommended Posts

In the function tep_update_banner_click_count(), an update on table "banners_history" is processed with date = now().

What if no record exists for this date?

For example, the banner could be displayed at 23:59:55, but clicked only at 00:00:01, i.e. the next day. Then, no record will exist to be updated. What is the value returned by now()? The date of the click or the date the php script was processed (and displayed to the browser)?

 

I guess I miss a point here because this is quite an old function. Can anybody help me find the mistake in my reasoning?

 

$Id: banner.php,v 1.12 2003/06/20 00:12:59 hpdl Exp $

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...