- - Readme First! Read and follow the rules, otherwise your posts will be closed
There are currently, 269 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How To Use This Button [ ]
Joined: Jun 23, 2004
Sat Dec 25, 2004 3:02 am
Joined: Feb 15, 2004
Sun Dec 26, 2004 9:34 am
Is it possible to use such button to call a function in a module ??
Yes, but only to functions that actually handle submitted user inputs.
Where shoul I put the function name... or maybe it should be a different button...
It's depend on the purpose. The following example will create an external image button (using POST form) that will directly download a file with id 1:
<form action="modules.php" method="post">
<input type="hidden" name="name" value="Downloads" />
<input type="hidden" name="d_op" value="getit" />
<input type="hidden" name="lid" value="1" />
<input type="image" src="images/logo.gif" alt="Download This File" style="cursor:pointer;" />
cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum