>I'm trying to get a number of img buttons that are all snug up against each
>other to be separate forms and still stay sung up against each other. For
>example:
>
>Note: tag open and close marks changed to ( and ) for our html mail friends:
>
>(form action="a.pl" method="post")
>(input type="image" src="button_a.gif" border="0")
>(input type="hidden" name="uid" value="3")
>(/form)(br)
>(form action="b.pl" method="post")
>(input type="image" src="button_b.gif" border="0")
>(input type="hidden" name="uid" value="4")
>(/form)(br)
>(form action="c.pl" method="post")
>(input type="image" src="button_c.gif" border="0")
>(input type="hidden" name="uid" value="5")
>(/form)


you could try putting all the buttons in a single form, and passing that
data to a wrapper script:



(form action="wrapper.pl" method="post")
(input type="image" src="button_a.gif" border="0" name="button" value="a")
(input type="image" src="button_b.gif" border="0" name="button" value="b")
(input type="image" src="button_c.gif" border="0" name="button" value="c")
(/form)


---- wrapper.pl ----

#!/usr/local/bin/perl

$option = &get_the_value_of ('button');

if ($option eq 'a') {
        $uid    = '3';
        require "a.pl";
        exit 0;
}
if ($option eq 'b') {
        $uid    = '4';
        require "b.pl";
        exit 0;
}
if ($option eq 'c') {
        $uid    = '5';
        require "c.pl";
        exit 0;
}


---- EOF ----














mike stone  <[EMAIL PROTECTED]>




____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to