I'm using some $_SESSION
variables for filtering many query records that have a similar name (ex. $_SESSION['nameFilter']
or $_SESSION['cityFilter']
and so on).
I'm using a link for resetting these filters, but I want to know if there is a way to unset all $_SESSION
variables that have a name that is like:
$_SESSION[(somewords)Filter]