Php String Include Substring Mysql Commands