Linked Questions

Popular Questions

Destroy a PHP session on clicking a link

Asked by At

Is this code valid?

<a href="#" onclick="<?php session_destroy();?>">Logout</a>

Related Questions