I'm writing a dynamic page which uses manay forms. How can i submit a form and return in the same page without reloading the data of the rest of thepage?
You should print the page using a boolean=0 then, after first submit, set boolean=1 so it print only the submit page. Like:
if (!$boolean)
First print...
if($submit)
$boolean=1 ...code...
Reloading the "first print" isn't show. ...Easy way...
If (!$submit){ Form } else { process form }
I've suggested to use variables cause he has many forms avoiding too many else if...
thanks i will try it right away but won't it affect my other sumbits? I have 3: a poll, login and referal.