I have resorted to here, to see if someone can simply help me (it would be greatly appreciated if you could give me your help on this piece of code). I have been trying for a day now, with no luck to get this to work.
I am building an advertising system, which displays adverts across my website. Mostly using repeaters - the ads are stores in an 'Adverts' database - where i can use tags to also control the placement.
I need to be able to do the following:
Upon an Advert being clicked within a repeater, update the Database item click count field which field key would be 'clicks'.
Upon an Advert being viewed (scrolled over) update the Database item view count field which field key would be 'views'
OR....update the 'view' count field based on a page being loaded with a repeater/repeater item being on it - if the above is more complex in some way.
Hope this makes sense and i would be really grateful for someone's help on this. Much appreciated.