I'm trying to place two submit buttons on a page and having the form choose which page to display next, e.g. :
<form method="post" action= "<? echo $Next ?>">
The question is, what is the PHP mechanism for setting $Next to hold the value of the next page to be displayed -- depending upon which button is pressed?
I think Javascript can handle this with its onClick event, but I want to do this in PHP.
Thanks in advance.