![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/05/2009, 09:30
|
![Avatar de By_George](http://static.forosdelweb.com/customavatars/avatar297223_2.gif) | | | Fecha de Ingreso: abril-2009 Ubicación: localhost
Mensajes: 629
Antigüedad: 15 años, 9 meses 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
} |