MyBB Community Forums

Full Version: "I Agree" button processing roundabout.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
edit; anyways, I figured it out.

I just needed one solution with a plugin am working upon. I am just stuck in a I agree button processing part.

What I am trying to do is:

1. when one goes to misc.php?action=example , global template, say example is evaluated.
2. Now in that global template, I want that I agree button for which I evaluated the following code from global templates but it seems my code is not right:


<form action="misc.php?action=example" method="post" enctype="multipart/form-data" name="input">
<div align="center"><input type="submit" class="button" name="submit" value="I agree" /></div>

And when after the user clicks I agree button, then only process the function queries.

Haven't worked with this thing anytime yet, so needed some guidance.

Any ideas?