<input type="submit" name="boton1" /> <input type="submit" name="boton2" <? if(!isset $_POST['boton1']){ echo "disabled='disabled'"; } ?> />