Thread
:
Link to +1 to database
View Single Post
01-18-2013, 05:04 PM
PM User
|
#
3
SlayerACC
Regular Coder
Join Date: Sep 2009
Location: Calgary, Alberta
Posts: 222
Thanks: 45
Thanked 3 Times in 3 Posts
something like this for the insert command
PHP Code:
mysql_query
(
"UPDATE imageadvert SET `hits` = `hits`+1 WHERE image_id = '$image_id'"
);
How to I work it off the <a href=""> of the click for the image?
Slayer.
SlayerACC
View Public Profile
Visit SlayerACC's homepage!
Find More Posts by SlayerACC