Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/05/2015, 19:38
BanNsS1
 
Fecha de Ingreso: junio-2009
Mensajes: 101
Antigüedad: 14 años, 10 meses
Puntos: 13
Respuesta: Guardar, actualizar y borrar en el mismo archivo

Es simple, con variables $_GET:

Código PHP:
<?php

if(!isset($_GET['section']) || (isset($_GET['section']) && $_GET['section']=='bank')){
    
#BANK SECTION
    
if(isset($_GET['action']) && $_GET['action']=='save'){
        
#BANK SAVE ACTION
    
}else if(isset($_GET['action']) && $_GET['action']=='delete'){
        
#BANK DELETE ACTION
    
}else{
        
#BANK MAIN SCREEN
    
}
}else if(
$_GET['section']=='employees'){
    [...]
}

?>