Use prepared queries in member.php and header.php