I am adding it diectly in cpanel and it is using a DB, ok let me to see if the "updateview" work or not
BTW, please tel me how to embed updateview in this code??
The line below is showing the actual number of count without addition of 1000 and working fine
<li><span class="cmp_button_wire" ><i class="fa fa.eye"></i>{$article->getViews()}</span></li>
but how to add 1000 in each count
i have used the segment as below
{$cnt = $article->getViews;
$newcnt = $cnt + 1000;}
echo "<li>
<span class='cmp_button_wire'>
<i class='fa fa.eye'>$newcnt</i>
</span>
</li>"
but its not working😴
Helo everyone
i am using the following code to get views regarding visits
<li><span class="cmp_button_wire" ><i class="fa fa.eye"></i>{$article->getViews()}</span></li>
please help me how to add 1000 in each view, i mean the display must show a number (views count) with addition of 1000
e.g., if there are 34 views in actual, it should show 1034
Regards.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.