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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -