2012-07-26, 07:37 PM
I do not know how to go about this, usually using global variables isn't good.
I want to add some so I can count how many times a link is clicked and then make a page that lists the stats of links clicked.
Using the PHP in Templates plugin...
I know you can do this with the database...but atm I'm not really good with queries. I have some one who can help me with that later though.
I want to add some so I can count how many times a link is clicked and then make a page that lists the stats of links clicked.
$global $GlobalVar;
echo "<a href='' onclick='$GlobalVar = $GlobalVar + 1;'>Link</a>";
Using the PHP in Templates plugin...
I know you can do this with the database...but atm I'm not really good with queries. I have some one who can help me with that later though.