Normally, when I’m handling forms, in the “action” parameter, I usually have to reference a full PHP script, like this:
<form method="post" action="foo.php"></form>
Is there a way to tell the form to use a function or method rather than having to mention a whole script?
Not that I know of, but I’m pretty sure you could do something like this…
Then in your php code, you could have this…