Hi all,
i'm trying to clean my code to his simpliest way and i've got a few question :
when i'm calling session variable, did i've need to always do this :
if($_SESSION["word"] == "all"){ ...
or i can just do that :
if($word == "all"){ ...
and for a query, when i use this :
WHERE partCode LIKE '%m' OR partCode LIKE '%q' OR partCode LIKE '%a' ...
is there a better way to script it ??
turb