G'day CJ

 > This is really a html more than a php question.

Yep, it probably is...

 > Is it possible to have two buttons and have different
 > actions for each button in the same form?

Yep, you can.

 <form etc>
  <input type="submit" name="first_submit_action" value="do this">
  <input type="submit" name="2nd_submit_action" value="do that">
 </form>

When you process your form in php you'll find that you have either
$first_submit_action or $2nd_submit_action set to a value (well, if you
have register global on anyway).

So, you look for which one is set and act accordingly.

Works for me...

CYA, Dave





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to