Explode by php_self

$url1 = explode('?',$_SERVER['PHP_SELF']);
echo $current_pagee = $url1[1];


if($url1[1]!=''){
unset($_SESSION['category']);
}

POPULAR POSTS ::

Add multiple upload box

The top Web development PHP frameworks

String Separation

Mobile App Development Trends: Emerging Technologies and Innovations

React Native iOS and Android App Development

Only number restrictions