Hi, the first step is done.
Now I need to use the events_hits.
I added the column events_hits (int (10)) to the database and this code to the events.php (before Clickstream ):
// Update Events Hits
$sql = "UPDATE ".EVENTS_TABLE."
SET events_hits = events_hits + 1
WHERE events_id = '$events_id'";
$site_db->query($sql);
and this line to functions.php:
"events_hits" => $events_row['events_hits'],
and the line to events.html:
HITS: {events_hits}
It does not want to work yet!!
Can you see what I need more or what I did wrong?