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]...
> echo "
> $done1
> $done
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.
";
?>
there we go :) now I can tell what submit button was pressed, easily and
cleanly.
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.
'.
$done2 . '
';
?>
--
PHP General Mailing List (http://www.php.net/)
$done2
";
?>
ok, type='submit' works like it should, the headers
Packet ID (from_IP.port-to_IP.port): 208.181.210.98.3830-209.52.174.206.80
E . . . . . @ . . . ' . . . . b . 4 . . . . . P G . z . F . . k P . C P I %
. . P O S T / t e s t 2 . p h p H T T P / 1 . 1 . . U s e r - A g
4 matches
Mail list logo