php - Mysql Table Updated after logout -


please me want update mysql query after session destroy. have logout.php file in set update query after seesion destory not updated please tell me possible in advance

try code, hope help.

<?php session_start(); if(session_destroy()) {    $sql="your query"; }  else{ exit; } ?> 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -