Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do i store the number of clicks of 6 image buttons into database. Help me pls im new to coding. I have created database table which looks like this ID, ads1,ads2,ads3,ads4,ads5,ads6,totalclicks.
Posted
Updated 24-Jun-13 6:22am
v3
Comments
[no name] 24-Jun-13 12:15pm    
You would connect to your database (whatever that is), and execute an UPDATE query to save the data to your database.

1 solution

dear Endles_story you need to use the Jquery for this purpose.
on every click save its value in an hidden field
after that get this hidden field at server side.
make a loop on it.
and get your total number of click on your image.

and it can easliy get.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900