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
}
--
I bought some used paint. It was in the shape of a house.
-- Steven Wright
--
http://mm.glug-bom.org/mailman/listinfo/linuxers