How to update the variables of $ _SESSION

1

When something is changed in the database, I want it to change also on the web

I try to use a function () example:

function actualizar_datos(){
   //Contenido para actualizar las variables de $_SESSION['']
   $_SESSION['nombre'] = $VARIBLE_HOST;
   $_SESSION['email'] = $VARIABLE_HOST;
}
    
asked by Cris GO 25.04.2018 в 06:06
source

0 answers