Hi,
> hope anyone has an idea on how to fix this...
>
> <form>
> <input type="submit" name="Submit" value="Submit Request"
> OnClick="submit.php" class="button">
> <input type="submit" name="Edit" value="Edit Request" OnClick="edit.php"
> class="button">
> </form>
you could give the form one action and then check on the following page
wether $Submit or $Edit is set.
form.php
<form action="doit.php" method="post">
...
</form>
doit.php
<?php
if(isset($submit)) {
do this, display that
}
if (isset($edit)) {
alter this, whatever
}
cheers
Johannes
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]