Dear all,
I would like to make the form that can be transferred the data to different webpage according to the client's "click" action,say submit or preview button in the following example.
<form method="post" action="XXX" name="form">
......
......
......
<input type="submit" name="submit" value=http://www.phpbuilder.com/board/archive/index.php/"submit">
<input type="submit" name="preview" value="preview">
</form>
Remark that "XXX", say preview.php or submit.php, is the webpage after client chooses the option.
Please help me how to accomplish this function, thanks
Sincerely yours,
Simon
I would like to make the form that can be transferred the data to different webpage according to the client's "click" action,say submit or preview button in the following example.
<form method="post" action="XXX" name="form">
......
......
......
<input type="submit" name="submit" value=http://www.phpbuilder.com/board/archive/index.php/"submit">
<input type="submit" name="preview" value="preview">
</form>
Remark that "XXX", say preview.php or submit.php, is the webpage after client chooses the option.
Please help me how to accomplish this function, thanks
Sincerely yours,
Simon