Ver Mensaje Individual
  #6 (permalink)  
Antiguo 31/10/2005, 15:19
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 22 años, 4 meses
Puntos: 38
Hola miguellara.

No estoy seguro de haberte entendido bien, pero si tus consultas tienen siempre la misma estructura, yo usaría una función. Por ejemplo:

Código PHP:
function test_value($item$val){
 return (isset(
$_POST[$item]) && $_POST[$item] == $val);

Eso cambiaría tu código a:

Código PHP:
if (test_value("Submit""Ingresar")){tal cosa
Saludos.