Re: [PHP] input type=image name=done value=done doesnt work as expected

2001-06-19 Thread Chris Lee
ok. to anser my own questions. oi. type=image name=done then the var will not be $done but $done_x and $done_y -- Chris Lee [EMAIL PROTECTED] Chris Lee [EMAIL PROTECTED] wrote in message 9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL PROTECTED]... ?php echo $done1br

Re: [PHP] input type=image name=done value=done doesnt work as expected

2001-05-24 Thread Chris Lee
ok Im having a hard time reading my own writing, the headers for both are correct. what I didnt take 10sec to see was that done2 was not being sent, done2.x and done2.y is being sent. oi. ?php echo $done1_x $done1_y $done2_x $done2_y form method='post'

[PHP] input type=image name=done value=done doesnt work as expected

2001-05-23 Thread Chris Lee
?php echo $done1br $done2br form action='$PHP_SELF' method='post' input type='submit' name='done1' value='done1' input type='image' src='image/done.gif' name='done2' value='done2' /form ; ? ok, type='submit' works like it should, the headers Packet ID (from_IP.port-to_IP.port):

Re: [PHP] input type=image name=done value=done doesnt work as expected

2001-05-23 Thread adam
an input tag of the type image cannot pass a name and value. therefore you will have to use a script to detect if both the button and hidden are passed or jsut the hidden. applying a hidden is helpful for this. ?php if ($done1 $done2) { $done2 = ''; } echo $done1 . 'br'. $done2 . 'br form