|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pakdhetimin Smarty n00b
Joined: 07 Jul 2019 Posts: 1
|
Posted: Sun Jul 07, 2019 12:07 pm Post subject: increment page views number |
|
|
hello everyone.
i am new in smarty and wanna do coding with smarty on my blog. here is the scenario:
1. page views number of an article is grabbed from mysql database and show it on article page with smarty template.
2. whenever this page is viewed or read by visitor it will increment page views number by 1 or (+1)
3. then the incremented value (+1) is updated to mysql database
how to write the code of that scenario, anyone would help me? thanks in advance
ps; using php, mysql and smarty template |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|