Jump to content

Need Help call a php function on mouseclick of a image


najath

Recommended Posts

I dont know exactly what you want to do but here's something maybe can help you

index.php
[code]
<?php
if($_GET["action"]=="getfunction")
{
    yourfunction();
}
?>
<html>
<a href="index.php?action=getfunction"><img border=0 src="your image"></a>
</html>
[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.