How do I call a php function within an html page? Any mention of the function executes it, but I only want it to execut on submit, yet stay on the same page, or even better, refresh the page I'm on.
For example, I have
Code: Select all
<form action="<?php clearReport(); ?>" >Basically, its for updating and refreshing the form on the same page.
-t