updated searchchart.php search and sanitizestring for input