calling a function in html
Posted: Tue Jul 11, 2006 1:49 am
hi
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 but this executes the code as soon as it reads this line.
Basically, its for updating and refreshing the form on the same page.
-t
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