Philip Tellis wrote:
Sometime on Jan 27, NK cobbled together some glyphs to say:
Assuming that you have a submit button in each of your forms, another
approach would be to use the same name attribute for the different
submit buttons, with different values for the value attribute in
doesn't translate well. this will bite you in the backside when you
want to internationalise your site. better is to have a different
name for the submit button. then you just check for the existence of
that variable:
<form ...>
<input type="submit" name="form1-submit">
</form>
<form ...>
<input type="submit" name="form2-submit">
</form>
PHP:
if(isset($_REQUEST['form1-submit']))
{
// form1
}
elseif(isset($_REQUEST['form2-submit']))
{
// form2
}
Yep !!!
I could catch the value of the submit button THANKSSS a lot
for that , though Philip I am still trying to manually sent the
variable through the url and its not yet working . I tried $_REQUEST to
catch the variable but it did not work either !! Any ideas as to what
may be wrong ......
Francis Pereira !!
--
http://mm.glug-bom.org/mailman/listinfo/linuxers