Problem with 2 buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have 2 buttons sitting next to each other. One to update; the other to cancel. However, no matter which button I click, the isset($_POST[“CHANGE”]) always returns true. My template code is list below. Could someone tell me what’s wrong with my code?

 

<tr height=60>

       <td width="5%">&nbsp;</td>

       <td valign=bottom>

                   <input type="hidden" name="CHANGE">

                   <input type=image name=CHANGE src="" >

                   <font class=mpanel_mid_data style="font-weight: lighter;">Update order</font>

       </td>

       <td valign=bottom>

                   <input type="hidden" name="CANCEL">

                   <input type=image name="CANCEL" src="" >

                   <font class=mpanel_mid_data style="font-weight: lighter; text-indent: 0px;">Cancel order</font>

       </td>

</tr>

 

William Cheung B.Sc, MCSE, MCDBA

Databyte Corp. 

 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux