require_once 'Setting.php'; ?> $Url = explode('/',$_SERVER['REQUEST_URI']); $where = "`sn_cat_status` = 'active' AND `sn_cat_slug` = '".$Url[1]."' "; $reg_res = mysql_fetch_array($reg_list = $general->GetRows('*' ,'sn_cat' ,$where)); ?>