Wednesday, 4 September 2013

Click image to call php function

Click image to call php function

I need to click an image and it to run some php script that sets a php
variable and reloads the same page.
I know it sounds simple but i've tried every different way I can think of
and i'm guessing it's just something basic i've missed.
I've tried onclick of the image, a href and a onclick, making the image
the 'submit button' of a form etc..
Any response would be appreciated.
Thanks in advance.
Regards, Kumar

No comments:

Post a Comment