I am setting up a virtual huggable pet script for some people. I have the basic script and hug counter done and everthing. The one problem I am facing is that my skill in PHP stops once I reach anything using php and images.
The basic idea behind this script is that everytime a pet is clicked the hug count increases. The script will then update the image.
an example pet:

The above pet does not have an accual hug system attached.
Please help!