Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/05/2009, 09:30
Avatar de By_George
By_George
 
Fecha de Ingreso: abril-2009
Ubicación: localhost
Mensajes: 629
Antigüedad: 15 años, 1 mes
Puntos: 19
Respuesta: Action de un form

si entendi bien tu quieres que te mande al index y ahi te mande a una seccion donde tienes borrar???

seria asi:
<form method='post' action='index.php'>
<INPUT type='hidden' name='operacion' value='borrar'>
<INPUT TYPE='SUBMIT' VALUE='Borrar'>
</form>

y en el index.php

evaluas

if($_POST["operacion"]=="borrar")
{
el borrado que quieras
}
else
{
otra cosa que vyas a hacer
}