Re: [Dave] Most Read/View Articles
Can you tell me what kind of field should the "hits" field be. (checkbox, hidden......)
Also the code "[font "Verdana"]<?php incrementCounterField('news', 'hits', $newsRecord['num']); ?> " can it be placed anywhere in the body of article.[/#000000][/#ff0000]
[font "Verdana"]As it stands right now this is a sample of my code[/#000000] [/#ff0000]
[font "Verdana"]list($featuredRecords, $featuredMetaData) = getRecords(array(
'tableName' => 'featured',
'limit' => '2',
'orderBy' => 'date DESC, title',
'where' => 'archive = 0',
));[/#ff0000]
[font "Verdana"]?>[/#ff0000]
[font "Verdana"]do i put the increment code on this (list) page or on the details page
Thanks