RE: Problem with 2 buttons

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

 



Thanks for clearing up my confusion. But the problem is still there. I now
wonder if anyone ever put two clickable images in a form.

William Cheung B.Sc, MCSE, MCDBA

Databyte Corp.

-----Original Message-----
From: Donatas [mailto:MDonatas@centras.lt] 
Sent: September 23, 2003 2:15 AM
To: php-windows@lists.php.net
Subject: Re:  Problem with 2 buttons

input doesn't have a closing tag, DUH

http://www.w3schools.com/tags/tag_input.asp


toby z wrote:

>:)
>
>you didnt close the input tag pal
>
></input>
>
>:)
>
>toby
>
> --- William Cheung <william@databyte.com> wrote: > Please ignore the
>word "DEFANGED_". I don't know why it is there
>  
>
>>when I
>>paste it.
>>
>> 
>>
>>William Cheung <mailto:william@databyte.com>  B.Sc, MCSE, MCDBA
>>
>>Databyte Corp. <http://www.databyte.com/> 
>>
>> 
>>
>>-----Original Message-----
>>From: William Cheung [mailto:william@databyte.com] 
>>Sent: September 22, 2003 10:43 AM
>>To: php-windows@lists.php.net
>>Subject:  Problem with 2 buttons
>>
>> 
>>
>>--> 
>>
>>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={#img_dir#}{#template#}page6grid_g3.gif
>>
>>    
>>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g4.gif'"
>  
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g3.gif'">
>  
>
>>                   <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={#img_dir#}{#template#}page6grid_g11.gif
>>
>>    
>>
>DEFANGED_Onmouseover="this.src='{#img_dir#}{#template#}page6grid_g12.gif'"
>  
>
>DEFANGED_Onmouseout="this.src='{#img_dir#}{#template#}page6grid_g11.gif'">
>  
>
>>                   <font class=mpanel_mid_data style="font-weight:
>>lighter;
>>text-indent: 0px;">Cancel order</font>
>>
>>       </td>
>>
>></tr>
>>
>> 
>>
>>William Cheung <mailto:william@databyte.com>  B.Sc, MCSE, MCDBA
>>
>>Databyte Corp. <http://www.databyte.com/>  
>>
>> 
>>
>> 
>>    
>>
>
>________________________________________________________________________
>Want to chat instantly with your online friends?  Get the FREE Yahoo!
>Messenger http://mail.messenger.yahoo.co.uk
>
>  
>

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

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


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

  Powered by Linux